Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: use file::find to find files modified in last 5 days

by wwe (Friar)
on Feb 22, 2012 at 12:42 UTC ( #955510=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      find2perl / -name .nfs\* -mtime +7 \
            -exec rm -f {} \; -o -fstype nfs -prune
    
  2. or download this
        sub wanted {
            /^\.nfs.*\z/s &&
    ...
            $dev < 0 &&
            ($File::Find::prune = 1);
        }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2018-11-17 19:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (205 votes). Check out past polls.

    Notices?