On Mon, 30 Sep 2002, Khan, Moin wrote:

> Hi,
> I am trying to check the file age, how old is file, and on that result have
> to process some function, for example if the particular file is 7days old
> then delete it, any help is appreciated.
>

Seven days old relative to what? If the "what" is the time that
your script began execution, then the -M file attribute works
quite nicely. If the "what" is relative to midnight of the current
day then things become a little more complicated.

**** [EMAIL PROTECTED] <Carl Jolley>
**** All opinions are my own and not necessarily those of my employer ****



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

Reply via email to