|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: del files that is 7 days or olderby djw (Vicar) |
| on Feb 14, 2001 at 20:06 UTC ( [id://58463]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I think you should check out File::stat to get all kinds of nice status information about files. You could setup a specific date you would like to have as your cut off date and then test it against the file creation date and delete if necessary. Here is a snippet:
Hope this helps, djw
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||