You're developing for Linux/Unix, right? I'm surprised that no one's mentioned tmpwatch yet. It's a tool that specifically written to get rid of files older than a particular age.
True, there's no Perl involved -- but sometimes the best answer is to not use Perl at all.
Update: .. And here's a link to the first page that Google found for tmpwatch. You can also find information about it by typing man tmpwatch on your Unix/Linux system.
In reply to Re: How do I find and delete files based on age?
by talexb
in thread How do I find and delete files based on age?
by macvsog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |