Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: File::Find seems grossly inefficient for performing simple file tasks

by Anonymous Monk
on May 29, 2013 at 15:42 UTC ( #1035871=note: print w/ replies, xml ) Need Help??


in reply to Re^3: File::Find seems grossly inefficient for performing simple file tasks
in thread File::Find seems grossly inefficient for performing simple file tasks

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.


Comment on Re^4: File::Find seems grossly inefficient for performing simple file tasks
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2014-12-26 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls