corrected typo for a better management of files with space in their name

This commit is contained in:
Pierre Poulain 2013-08-28 11:27:44 +01:00
parent dfc7c98607
commit a66f3d1c15
1 changed files with 1 additions and 1 deletions

View File

@ -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'