Over time my media server can become cluttered with empty folders deeply nested on my file system. I will show you how to take care of them with a simple command.
The command below traverses all directories in a subtree and deletes the empty ones. Hope this helps you clean all your pesky empty folders.
find . -type d -empty -delete
-type drestricts to directories
-emptyrestricts to empty ones
-deleteremoves each directory