Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: getting files recursively from a directory structure

by Laurent_R (Canon)
on Nov 13, 2014 at 22:40 UTC ( [id://1107155]=note: print w/replies, xml ) Need Help??


in reply to getting files recursively from a directory structure

Hi, keep somewhere (say in a configuration file) the information about that last time you've run the job (or, more precisely, the last time stamp you've used). Anything newer than that time stamp should be considered, anything older can be discarded. Update the config file with the new time stamp when you are done.

Update: Loops was faster than me by a couple of minutes. Before answering the OP, I also considered the same solution as Loops's, but decided the one I suggested above was simpler. Now choosing between the two methods would probably require a bit more knowledge about the process.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2024-03-28 18:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found