Software Engineer

removing thumbs.db

· by jsnby · Read in about 1 min · (115 Words)
Computers

I hate that windows builds thumbnail cache files(thumbs.db) and stores them on disk in the directory with the images. I just don’t like it at all. You can turn off this behavior in XP by Control Panel > Folder Options > View > Do not cache thumbnails.

But now you’re left with a bunch of these files littering your disk. If you happen to have cygwin installed(or if you copied your files to a Linux/Unix server), you can remove them by running this command: find /path/to/dir -iname "thumbs.db" -type f -print0 | xargs -0 /bin/rm -f

This will remove any file called thumbs.db (or any case variation thereof) from /path/to/dir and any sub-directories of /path/to/dir.