There's more than one way to do things | |
PerlMonks |
Use File::Find and stat - Re: maintain control over very many filesby metadoktor (Hermit) |
on Feb 25, 2002 at 12:18 UTC ( [id://147317]=note: print w/replies, xml ) | Need Help?? |
You can use File::Find to traverse the specific directory that you want to look at and stat each file for the modify time as you process it using File::Find.
As for keeping track of new files you can always save the previous directory contents and compare them to whatever is in there now. If your list of files is truly huge then you may have to employ special tricks to optimize your compares. metadoktor "The doktor is in."
In Section
Seekers of Perl Wisdom
|
|