Your if statement that's checking the modification times is only being applied to the print statement. The unlink is running against all files -- no conditional there.
In reply to Re: Delete Files
by steves
in thread Delete Files
by windy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |