in reply to maintain control over very many files
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."
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Use File::Find and stat - Re: maintain control over very many files
by clemburg (Curate) on Feb 25, 2002 at 12:24 UTC | |
Re: Use File::Find and stat - Re: maintain control over very many files
by Sinister (Friar) on Feb 26, 2002 at 12:10 UTC |
In Section
Seekers of Perl Wisdom