Why are you not simply using the -M -A or -C file test operators which return directly the age of the file in days (and fractions of days)? It seems that's doing exactly what you need.
-M : last modification
-A : last access
-c : last inode change
In reply to Re: Comparing file properties
by Laurent_R
in thread Comparing file properties
by mcoblentz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |