Don't ask to ask, just ask | |
PerlMonks |
Re: Clean Up Empty Directoriesby morgon (Priest) |
on Feb 17, 2018 at 02:24 UTC ( [id://1209370]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Cool Uses for Perl
|
|