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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Clean Up Empty Directories
by GotToBTru (Prior) on Feb 19, 2018 at 19:18 UTC |
In Section
Cool Uses for Perl