You can check how old a file is using the -M function.The OP wants hours, but the doc says (emphasis is mine)
# -M Script start time minus file modification time, in days.Probably a solution using stat and one of the CPAN Date/Time modules will be needed.
In reply to Re^2: Checking Age of Files
by toolic
in thread Checking Age of Files
by kwalike57
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |