Deleting empty folders with Thumb files

The best solution for finding and removing duplicate files.
Post Reply
User avatar
mschubb

Deleting empty folders with Thumb files

Post by mschubb »

Such a great program! Just merged dozens of image backup folder trees and was able to delete over 12,000 duplicates pretty efficiently.

But I am left with hundreds of empty folders that did not delete because there were thumb.db or .picasa.ini files leftover.

Any suggestions? Did I miss an option somewhere?

If not -- would it be possible in a future release to be able tag file types like this so they will be ignored when the program is deleting just-emptied folders? This would really help cleaning image folders.

Thanks!
User avatar
DV
Posts: 78
Joined: Fri Jun 10, 2011 9:00 am

Re: Deleting empty folders with Thumb files

Post by DV »

No, it doesn't currently remove these files as they aren't in the duplicate list. Good idea though, will try and find a way of dealing with them.
User avatar
therube
Posts: 615
Joined: Tue Jun 28, 2011 4:38 pm

Re: Deleting empty folders with Thumb files

Post by therube »

> will try and find a way of dealing with them

But why?
If a directory is not empty why should DC take action on it?
What criteria would be used?

If all that remained in the directory were "thumbs.db" or "*.db" or ".ini", then remove?

What is to differentiate a (Windows generated) thumbs.db or a file you may happened to have named, "thumbs.db". Ditto for some .ini file.

Searching for DUPs is fine. Searching or doing something just because it happens to be left over, doesn't seem right to me.

If you know & understand your directory structure, & if you have deleted DUPs, & if you then see that you have (virtually) empty directories, with the exception of particular files/types - say, thumbs.db, then use a tool to search that tree, finding all thumbs.db, note their sizes, & if all seems reasonable, then delete them in mass.

Everything search engine can do that quickly an easily.

At that point, you would still have empty directories laying around. A file manager, a number of them, will enumerate subdirectory tree sizes. So if they are 0 bytes, it makes it a relatively simple matter to highlight & delete the same.

Or a tool like this, Remove Empty Directories (untested).
Post Reply