Hi cwu20,
Look at the man page for the stat command, i.e. run:
$ man stat
The stat command will dump the access and modified times of a file. You have to then figure out how to save the output and use it in a script to do the comparison. Hint: use a combination of |, grep, and awk, nawk, or gawk.
-- Tom
__________________ The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein |