Yes, there is. Here is the high level syntax...
if (-M FILENAME > 2.0)
-M tests file modification age in days
> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, May 21, 2001 2:38 PM
> To: [EMAIL PROTECTED]
> Subject: Time stamp ?
>
>
>
> All,
> I want to remove files which are older than 2 days. Is there any easy
> way
> to do that perl (high level syntax, please) ? or do I 've to get the date
> from
> the time stamp of the file and compare with current date to remove them.
> In UNIX
> I use mtime with find command.
>
> I would appreciate any help.
>
> Thx
> Kailash
>
>