I have a perl ftp download script that throws stuff into the day that its being downloaded on.
The format is
2008-03-19
2008-03-20
and so on.
However I only want to keep 7 days. So what I need in pseudu code is
if folder is less that 7 days from todays date then delete it.
Start Free Trial