My music collection was a mess. I copied files from various album folders into artist folders and deleted a whole heap of files in the process. As a result I ended up with lots of empty folders which would have been painful to delete individually.
Another situation where it is useful is when you sort out your camera pictures, as you move the pictures out of the default date folders into your personalised folders.
I needed to find a script or an application that would do the job for me. I wanted it to be simple, safe and reliable. JonasJohn came to the rescue with a little program called “Remove Empty Directories.”
RED scans your computer for empty folders and gives you the option to delete them. It is highly customisable so you can have it ignore specific files and folders. It does more than what I needed, but the extra functionality equates to safer operation.
You will need to be careful not to run this program over your “Windows” or “Program Files” directories as some programs require specific empty folders to work. I would advise you to run it only in folders which have your own documents in them, such as “My Documents” or “My Pictures”.
It’s small and free, and is available from jonasjohn|DE.