in reply to Monitor new file
are you monitoring all the files in the directory tree or are you interested in tracking only a limited number of them? I am asking because if you're monitoring only a smaller number of files (and not each and every file in the directory tree), then it might possibly be better (faster) not to comb through the whole directory with File::Find, but rather to start from the list of files in your hash and check only these files' age with the relevant file test operator.
|
|---|