Delete all files of a given type in a folder structure in Bash, recursively
Written by Guillermo Garron
Date: 2012-11-22 22:09:32 00:00
Yesterday, when I posted this post. Andres asked me, how to do the same thing but only for *.doc files.
I have tested, what I thought it could be, and this is the way.
find /tmp/ -name "*.doc" -type f -delete