tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Finding files that are older than a number of hours rather than a
@ 1999-12-31  4:20 Williams, David J
  0 siblings, 0 replies; only message in thread
From: Williams, David J @ 1999-12-31  4:20 UTC (permalink / raw)
  To: tru64-unix-managers

I would like to know if anyone has an easy way of finding files that are
older than a number of hours, for example, 2 hours.

The find command will only work against a number of days, for example,
find /var/adm/syslog.dated -depth -type d -ctime +5 -exec rm -rf {} \ ;

Please respond directly to me and I will summarise.

Thanks in advance,

David

David J Williams
Technical Specialist
Information Services
F H Faulding & Co Limited
Tel: +61 8 8408 3450/ Fax: +61 8 8408 3500
mailto:david.j.williams@au.faulding.com
<mailto:david.j.williams@au.faulding.com> 
http:www.faulding.com

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

only message in thread, other threads:[~1999-12-31  4:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-31  4:20 Finding files that are older than a number of hours rather than a Williams, David J

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