tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Wayne Sweatt <sweatt () dps ! state ! nm ! us>
To: tru64-unix-managers
Subject: SUMMARY:How to Determine File Age
Date: Tue, 18 Aug 1998 21:13:27 +0000	[thread overview]
Message-ID: <96078718211790.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1998-08-18 21:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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