is there a shell script out there that deletes all files in a folder that are older than x minutes?
|
feedback
|
|
This should do it, I've tested this with
| |||||||||||
feedback
|
|
This will run forever, delete files modified more than three minutes prior to each iteration and wait one minute before doing it again:
You can add | |||
|
feedback
|
|
I use a script like this to delete backups older than 30 days:
Based on that, I think you could do something similar:
I think that would get 'em over 10 minutes | |||
|
feedback
|