Delete all files of a given type in a folder structure in Bash, recursively November 22, 2012 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