[Change] Add "not this dir" into find examples

This commit is contained in:
ImmortalPC 2013-12-05 17:24:29 +01:00
parent d8ff70dd57
commit ccf3eddba0
1 changed files with 3 additions and 0 deletions

View File

@ -36,3 +36,6 @@ find . -type d -empty -exec rmdir {} \;
# To search for directories named build at a max depth of 2 directories
find . -maxdepth 2 -name build -type d
# To search all files who are not in .git directory
find . ! -iwholename '*.git*' -type f