Don't ask to ask, just ask | |
PerlMonks |
Re^3: File::Find seems grossly inefficient for performing simple file tasksby RichardK (Parson) |
on Apr 26, 2013 at 15:19 UTC ( [id://1030853]=note: print w/replies, xml ) | Need Help?? |
I read that find man page too and I'm still not sure exactly what it does! But, I'd interpret that to mean -cmin 7 is changed exactly 7 minutes ago ( which seems a bit odd ). Anyway, back to the point :), if you look at stat you'll see that atime,mtime,ctime are in seconds since the epoch and the pod for File::Find::Rule says :-
So, you can write a mtime rule to do whatever you need. I'm guessing mtime but these things are a specific to your OS and file system so you'll have to play around a bit to see what works for you.
In Section
Seekers of Perl Wisdom
|
|