http://qs321.pair.com?node_id=1209370


in reply to Clean Up Empty Directories

On what system does this actually work?

On linux even empty directories take up some space so "du -kh" reports 4.0K for them and therefore never would be deleted by your logic as far as I can see...

This is simply (not even talking about the hard-coded directory) broken code.