On robust file systems - where there are explicit creation and modify dates (e.g. not FATnn), the creation of a new file in a directory (or delete or rename, etc.) represents a modify to the directory itself. Therefore, "the newest file date in" such a "directory" should be the modify date of the directory. (Actually, considering deletes, renames, etc. - should not be newer than the modify date of the directory.)
Hope this helps.

Charles Maier wrote:

I have a Perl app that catalogs photo files. IS there a quicker way of
finding "the newest" file date in a directory other than doing a stat on
each file in it??  How??

TIA
Chuck

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs




_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to