Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 musing on the Monastery: (15)
As of 2014-07-28 15:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (204 votes), past polls