Thursday, July 19, 2012

Delete some specific files from all subdirectories

February 23, 2010 by  
Filed under General

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 [...]