Finding files that are older than a number of hours rather than a number of days

From: Williams, David J <David.J.Williams_at_au.faulding.com>
Date: Fri, 31 Dec 1999 14:38:56 +1030

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_at_au.faulding.com
<mailto:david.j.williams_at_au.faulding.com>
http:www.faulding.com
Received on Mon Jan 03 2000 - 11:39:50 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT