Forum Moderators: coopster
i have a code that deletes files that are certain days old, but i dont know exactly how old and i wanted to increase it to delete files that are 4 days old. Any suggestions would be great.
unlink $filename if $current - (stat $filename) [10] > 1 * 60 * 60 * 24;
Thanx