Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Remove eMpTy Directoriesby Aristotle (Chancellor) |
on Nov 20, 2002 at 00:28 UTC ( [id://214313]=note: print w/replies, xml ) | Need Help?? |
Quite inefficient.
perl -MFile::Find -e 'find( { wanted => sub {}, postprocess => sub { rmdir $File::Find::name } }, @ARGV )'
Makeshifts last the longest.
In Section
Code Catacombs
|
|