[Solved] Search files and delete them via SSH [closed]


From http://www.cyberciti.biz/faq/linux-unix-how-to-find-and-remove-files/

find . -name "error.log" -exec rm -rf {} \;

And also XARGS example from http://www.askdavetaylor.com/how_do_i_delete_all_occurances_of_a_file_in_linux.html

find . -name "error.log" | xargs rm

0

solved Search files and delete them via SSH [closed]