find and delete files by name

From WebHostingNeeds.com
Jump to: navigation, search

To find and delete all error_log files on server


for i in `find /home/ -name error_log`;do `rm -f $i`; done;