to test the modify time. (or -A or -C for the access or change time on unix). See the documentation for file tests.if ((-M '/tmp/file') > $ageThreshold) {
Two things to note
Ususally, neither of these is a problem.
In reply to Re: Timestamp conditional
by rodion
in thread Timestamp conditional
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |