Hello

I am working on a perl script that will go through a directory and it's subdirectories and purge all the files that are more than a specified number of days old. I am using a Unix system so I do a find command to gather up the files I want. I then am going to do a stat command to find the date the file was created (it is never modified) and then determine if it is to be deleted. What is the easiest way to determine if a date is more than x number of days old.

Andrew


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to