tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:How to Determine File Age
@ 1998-08-18 21:13 Wayne Sweatt
  0 siblings, 0 replies; only message in thread
From: Wayne Sweatt @ 1998-08-18 21:13 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-08-18 21:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-18 21:13 SUMMARY:How to Determine File Age Wayne Sweatt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox