colox has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks, From my other posts/inquiries, I am using File::Find to search through a directory for files new than a timestamp I saved into a hash file. However, I realized this is very inefficient as it has to comb through the whole directory & check each & every file in it to determine if the file timestamp is newer than my reference (hash). Any recommendation (module) that would do the task more efficient? Thank you as usual for your valuable inputs & advise.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Monitor new file
by Corion (Patriarch) on Dec 05, 2017 at 12:19 UTC | |
|
Re: Monitor new file
by Laurent_R (Canon) on Dec 05, 2017 at 13:32 UTC | |
|
Re: Monitor new file
by karlgoethebier (Abbot) on Dec 05, 2017 at 17:36 UTC | |
|
Re: Monitor new file
by thanos1983 (Parson) on Dec 05, 2017 at 16:26 UTC |