Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

File::Find seems grossly inefficient for performing simple file tasks

by taint (Chaplain)
on Apr 26, 2013 at 06:27 UTC ( #1030774=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    find ./iso/ -type f -cmin '+11' -uid web -exec rm '{}' \;
    
  2. or download this
    find2perl ./iso/ -iname '*.xz' -user web -ctime 1 -exec rm '{}' \;
    
  3. or download this
    #! /usr/local/bin/perl -w
        eval 'exec /usr/local/bin/perl -S $0 ${1+"$@"}'
    ...
        (int(-C _) == 1) &&
        (unlink($_) || warn "$name: $!\n");
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1030774]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-08-21 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (134 votes), past polls