http://qs1969.pair.com?node_id=520800


in reply to Re: Find Empty directories and removing it
in thread Find Empty directories and removing it

You have to use finddepth, not find, because you need to act on the current directory last. Consider a directory that is empty except for containing two other empty directories.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.