in reply to Re: Automatically delete files
in thread Automatically delete files
If you do this (loop with a long sleep), don't forget that you will have to update $^T in order for -M to return relevant values:
# update basetime: $^T = time();
or else you won't discover any new expired files after the initial run.
|
|---|