Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Find Empty directories and removing it

by smokemachine (Hermit)
on Jan 04, 2006 at 05:27 UTC ( [id://520798]=note: print w/replies, xml ) Need Help??


in reply to Find Empty directories and removing it

could be this?
perl -e 'while(<./*>){@a=<$_/*>;rmdir if -d && ! $a[0]}'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://520798]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (None)
    As of 2024-04-19 00:22 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found