Never been to TextSnippets before?

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!)

find and delete Thumbs directory (See related posts)

If you want to delete all the Thumbs directories in your iPhoto Library for some reason:

for file in $( find . -name "Thumbs" ) ; do rm -r $file; done


Edit: a better solution by bcrow:
find . -name "Thumbs" -exec rm -r {} \;

Comments on this post

bcrow posts on Apr 15, 2006 at 07:42
A more succint way of doing this would be:
find . -name "Thumbs" -exec rm -r {} \;
roeland posts on May 06, 2006 at 12:05
thanks, much better

You need to create an account or log in to post comments to this site.


Related Posts