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.
In reply to Re^2: Automatically delete files
by fishbot_v2
in thread Automatically delete files
by MonkPaul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |