tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Tom McCarrick <Tom.McCarrick () unilever ! com>
To: tru64-unix-managers
Subject: SUMMARY: Variation on find
Date: Mon, 19 Jun 2000 13:56:27 +0000	[thread overview]
Message-ID: <96142307226715.tru64-unix-managers.marc@archive.invalid> (raw)

Many thanks to the following for the prompt responses:
Joerg Bruehe
Marco van Herwaarden
Mary Freesmeyer
Julian Rogan
Paul A Sand

 My original question was basically, how to restrict the find command to a
single directory; specifically to find all files older than a certain date.
There are probably many ways to approach this, however the only solution that
worked for me was the one quoted by Paul A Sand :

Unix Power Tools_ from O'Reilly (sec 18.24) suggests something like:

    find . \( -type d ! -name . -prune \) -o \( -mtime +5 -ls \)

This did the trick

Regards - Tom Mc Carrick
 

                 reply	other threads:[~2000-06-19 13:56 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