mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
[Change] Add "not this dir" into find examples
This commit is contained in:
parent
d8ff70dd57
commit
ccf3eddba0
@ -36,3 +36,6 @@ find . -type d -empty -exec rmdir {} \;
|
|||||||
|
|
||||||
# To search for directories named build at a max depth of 2 directories
|
# To search for directories named build at a max depth of 2 directories
|
||||||
find . -maxdepth 2 -name build -type d
|
find . -maxdepth 2 -name build -type d
|
||||||
|
|
||||||
|
# To search all files who are not in .git directory
|
||||||
|
find . ! -iwholename '*.git*' -type f
|
||||||
|
Loading…
Reference in New Issue
Block a user