how do I remove all empty directories?
I'm trying to figure out how to recursivly remove all of the empty directories on my computer.
I have many cases where a directory contains another directory which is empty, so I'm trying to figure out a way to delete all of the empty child folders, and then delete any of the empty parent folders after that.
I've tried looking at the man pages for rmdir, and toying around with grep, but I can't seem to figure this one out.
|