Linux: Find and remove files recursively


find . -type f -name "*.log" -exec rm -f {} \;

Remember to switch to the directory you're working on..

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