From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078718211790.tru64-unix-managers.marc@archive.invalid> From: Wayne Sweatt Date: Tue, 18 Aug 1998 21:13:27 +0000 To: tru64-unix-managers Subject: SUMMARY:How to Determine File Age X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078718211790 The answer (best) was to download and compile the GNU findutils.=20 The GNU version will differentiate file access, modify time down to the = minute. Why the standard "find" isn't recompiled to have the same capability, I = don't know. I guess that's why there's a GNU Project. I got my findutils-4.1 from ftp://gatekeeper.dec.com/pub/GNU/ I suggest = if your system is still somehow "GNU free" , get the gcc compiler to = compile it with. Thanks to : John Hascall Bill Boddy Stuart McKenzie ( Had a date/awk combo script example) Kenneth Forward Anthony Talltree The Original Question: I would like to know of the easiest way to determine via a shell which files in a given=20 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,=20 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