Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: list files based on age and pattern

by kaka_2 (Acolyte)
on Sep 16, 2013 at 10:09 UTC ( #1054269=note: print w/ replies, xml ) Need Help??


in reply to Re: list files based on age and pattern
in thread list files based on age and pattern

lack of knowledge on perl syntax prevents me to do that. this is not my experties but few time i have to deal with these codes.


Comment on Re^2: list files based on age and pattern
Re^3: list files based on age and pattern
by hdb (Prior) on Sep 16, 2013 at 10:16 UTC

    To test for files older than 15 mins use ... and (-M) > 1.0 / 96 in your grep.

      To test for files older than 15 mins use ... and (-M) > 1.0 / 96 in your grep.

      That's a pretty strong obfu to someone who is not fluent with the -M file test.

      It is definitely worth a comment in your code what you meant to do/'re doing there. ;-)

      Cheers, Sören

      Créateur des bugs mobiles - let loose once, run everywhere.
      (hooked on the Perl Programming language)

        You mean, pointing out that -M units are days and that a day has 24 * 4 = 96 intervals of 15 minutes?

Log In?
Username:
Password:

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

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

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





    Results (176 votes), past polls