Possible Duplicate:
How to remove all empty directories in a subtree?
I create directories very often, scattered over my home directory, and I find it very hard to locate and delete them.
I want any alias/function/script to find/locate and delete all empty directories in my home directory.
WORK=$(mktemp -d)
orcd $(mktemp -d)
. Of course don't put important files that you need to preserve in those directories. But most likely your system is already setup to automagically make those files disappear after a while./z/
directory on start-up and do all my temporary work there.