Delete some specific files from all subdirectories
Useful unix-command trick to quickly remove i.e. Thumbs.db files, WS_FTP.LOG files or *.fla files, recursively through directories.
It could be a real pain on a huge directory tree
Removing all *.fla files from /home/user/ and subdirectories…
find /home/user/ -name *.fla -ok rm {} ;
Removing all WS_FTP.LOG files from /home/user and subdirectories…
# find /home/user -name WS_FTP.LOG -ok rm {} ;
Removing all Thumbs.db files from /home/user and subdirectories…
find /home/user -name Thumbs.db -ok rm -f {} ;
loading...
Related posts: