Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Traversing SubDir and Execute Unix Command

by ig (Vicar)
on Nov 08, 2008 at 17:59 UTC ( #722419=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    find2perl /some/directory -name '*.gz' -exec gunzip {} \;
    
  2. or download this
    #! /usr/bin/perl -w
        eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
    ...
        chdir $File::Find::dir;
        return !$?;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2020-04-09 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (47 votes). Check out past polls.

    Notices?