On Fri, 25 May 2001, Keith A. Humphrey wrote:

> Is there a perl command that can tell me the age of a file?

-M age since last modification, in days
-C age since last access, in days
-A age since last inode change in days

Note that these return the age at the time your script ran.  You should
set $^T to the current time in your script to get the most current age.

-- Brett

Brett W. McCoy
Software Engineer
Broadsoft, Inc.
240-364-5225
[EMAIL PROTECTED]

Reply via email to