for file in $( find . -name "Thumbs" ) ; do rm -r $file; done
Edit: a better solution by bcrow:
find . -name "Thumbs" -exec rm -r {} \;
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
You need to create an account or log in to post comments to this site.
» Delete specified files in th... in find shell osx mac bash unix delete
» Clearing out a bunch of spam... in find awk xargs postfix email spam spool
» delete a filename starting w... in find shell
» Find and change a users uid in find nfs cli
» Find flagged message subject... in find shell mail maildir flagged messages
» Make Find.find return an array in find ruby
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails