mirror of
https://github.com/cheat/cheat.git
synced 2024-11-22 05:51:35 +01:00
corrected typo for a better management of files with space in their name
This commit is contained in:
parent
dfc7c98607
commit
a66f3d1c15
@ -14,7 +14,7 @@ find . -type f -perm 777
|
||||
find . -xdev \( -perm -4000 \) -type f -print0 | xargs -0 ls -l
|
||||
|
||||
# To find files with extension '.txt' and remove them:
|
||||
find ./path/ -name '*.txt' -exec rm {} \;
|
||||
find ./path/ -name '*.txt' -exec rm '{}' \;
|
||||
|
||||
# To find files with extension '.txt' and look for a string into them:
|
||||
find ./path/ -name '*.txt' | xargs grep 'string'
|
||||
|
Loading…
Reference in New Issue
Block a user