mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-23 06:02:12 +01:00
[Change] Add "not this dir" into find examples
This commit is contained in:
parent
d8ff70dd57
commit
ccf3eddba0
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue