I never thought I'm gonna need such a program and always wondered how one can come into a situation where he has many empty folders and wants to delete them. Now, I'm in that situation: I have deduplicated a history of backups from 2013 to 2020, i.e. deleted all identical files. That gave me ~2.3 TB of free storage, but the directories remained.
I'm looking for a program that deletes empty directories. A directory may count as empty if it contains other empty directories only.
Now I thought that this is a trivial task, but it seems I was totally wrong. I have a disk with 240.000 empty folders and I tried:
- RED - Remove Empty Directories. This tool has a nice UI, but is unresponsive during the scanning process. By default it delays 80ms between deleting a directory, which slows down my case to 5:20 hours. That's not acceptable. I reduced that time to 0 ms. But in fact it was only able to delete 1 directory per second! When cancelling the operation, one needs to go through the scanning phase again. Argh!
- Empty Folder Nuker also needs a long time to find empty directories. It only displayed ~8000 of those 240.000 directories. Why did it take so long to scan them then?
- WizTree is very fast and tells me that I have 240.000 directories on my hard disk and only about 5000 files. But it has no option to delete empty directories.
I don't want:
- programming it myself, so please no programming language suggestions
So please, if you have successfully deleted 100.000 empty folders with some tool and you were happy with it, please share it with me. Do not google for results. That's what I did.