mirror of
https://github.com/cheat/cheat.git
synced 2025-09-02 18:18:30 +02:00
[Change] Add "not this dir" into find examples
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user