* SUMMARY: Variation on find
@ 2000-06-19 13:56 Tom McCarrick
0 siblings, 0 replies; only message in thread
From: Tom McCarrick @ 2000-06-19 13:56 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-06-19 13:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-19 13:56 SUMMARY: Variation on find Tom McCarrick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox