Recursive delete files/folders :: linux
For directories (in this example we want to delete directory '.svn')...
find /some_path -type d -name ".svn" -exec rm -rf {} \;
for files (in this example we want to delete file 'file.exe')...
find /some_path -type f -name "file.exe" -exec rm -rf {} \;
Labels: linux

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home