Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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?
[choroba]: The issue created

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2018-04-27 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?