I needed to do this so that I could remove 10’s if not 100’s of 1000’s Thumbs.db files from my photos directory.  Windows seems to love to cache this info to speed up the thumbnail generation.  I disabled this in group policy, but needed to do the cleanup work.

The command are simple:

find -name “Thumbs.db” -exec rm -i {} ;

The above is used if you want get a confirmation for every file deleted (NO WAY, not this time)

So I used the following

find -name “Thumbs.db” -exec rm -f {} ;


Enjoy and don’t delete your ESXi Server on accident ( Don’t ask, I’ll explain another time)