Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: removing directories with wildcard glob in OS-portable way

by BrowserUk (Patriarch)
on Dec 30, 2012 at 01:15 UTC ( [id://1010868]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -E"system q[for /d %d in (scale-*) do @rd /q /s %d]"
    
  2. or download this
    perl -MFile::Path -MFile::Spec -wE"File::Path::remove_tree(glob(File::
    +Spec->catdir('.','scale-').'*'));"
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2024-04-26 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found