go ahead... be a heretic | |
PerlMonks |
Re^4: File::Find seems grossly inefficient for performing simple file tasksby Anonymous Monk |
on May 29, 2013 at 15:42 UTC ( [id://1035871]=note: print w/replies, xml ) | Need Help?? |
a bit late but perhaps useful to someone. Implicit in the description of the -cmin flag is the *nix find's default "-" and "+" syntax. So, you are right that -cmin 7 means files that changed exactly 7 minutes ago. If you want "more than 7 minutes ago" use --cmin +7; "less than 7 minutes ago" use --cmin -7. if you want "less than or equal to 7 minutes ago", use --cmin -8.
In Section
Seekers of Perl Wisdom
|
|