How to Determine File Age.

From: Wayne Sweatt <sweatt_at_dps.state.nm.us>
Date: Thu, 13 Aug 1998 11:56:43 -0600

I would like to know of the easiest way to determine via a shell which files in a given
directory are more than 30 minutes old ,1 hour, etc. (something less than a day).
I can think of some convoluted ways ;like grepping out the create time of the file,
convert it and the `date` to a corresponding integer and compare >,< or maybe a combination
of touch and find -newer, BUT is there a short, simple command to do this??

I've got an Alpha 2100 running DU 4.0b.

 Thanks,

   Wayne Sweatt
Received on Thu Aug 13 1998 - 17:55:36 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT