Delete Thumbs.db files with Spotlight
Any Mac user that has shared files from a Windows PC has surely found the always annoying and completely useless Thumbs.db files scattered around their directories. We’ve been asked about deleting Thumbs.db files a few times before, and typically we run a simple script from the command line, but there’s another even easier way of removing all Thumbs.db files from Mac OS X by using only Spotlight.
This quick little tutorial will show how to delete all Thumbs.db files from your Mac in one fell swoop.
How to Delete Thumbs.db files from Mac OS X
- Launch Spotlight (hit Command-Spacebar)
- Type “Thumbs.db”, when a list is gathered hit the return key
- Click the ‘more’ button to show all search results (in new versions of OS X, click the “Show All in Finder” option at the bottom of the Spotlight search window)
- Now simply drag and drop all of the Thumbs.db files into the trash, and empty the trash
- Done! Your Mac will now be rid of all Thumbs.db files
As you can see, this tip is very simple and for many it is easier than launching the Terminal and doing it through the command line.
If you’re wondering what Thumbs.db files are, they are simply a small cache file that holds thumbnail preview data for folders in Windows, it is not a crucial system file, so do not worry about deleting them from your Mac (where they serve no purpose anyway). In this way, the thumbs.db file is kind of like a Mac DS_Store file, which are frequently encountered in OS X by users who have hidden files visible, but also on network environments from Windows users – for that latter situation, users can stop the DS Store files from being created to begin with using a defaults command, a similar option exists in Windows for those looking to stop the creation of Thumbs.db files as well.
Good idea from LifeHacker, cheers to them for the handy tip!