mirror of
https://github.com/cheat/cheat.git
synced 2024-11-16 08:58:28 +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