Find problems on DUX 4.0D Jumbo patch kit 3.

From: Loucks Guy <Guy.Loucks_at_det.nsw.edu.au>
Date: Tue, 10 Aug 1999 16:14:55 +1000

People,

I welcome comments on this one, I have been staring at it for a large part
of an afternoon on and off, and have no idea why it is not working. I am
sure it is brain numingly obvious, but as always the brain is numb, time to
go drown ones sorrows in a schooner or ten.

find /var/adm/syslog.dated -depth -type d -ctime +5 -exec rm -rf {} \;

This should remove all but the last 5 days of directories, but doesn't.

# ls -ial /var/adm/syslog.dated
total 59
39175 drwxr-xr-x 58 root adm 1536 Aug 10 00:01 .
 9408 drwxr-xr-x 13 adm adm 512 Feb 3 1999 ..
10928 drwxr-xr-x 2 root adm 512 Aug 1 00:01 01-Aug-00:01
22919 drwxr-xr-x 2 root adm 512 Jul 1 00:01 01-Jul-00:01
12274 drwxr-xr-x 2 root adm 512 Aug 2 00:01 02-Aug-00:01
24328 drwxr-xr-x 2 root adm 512 Jul 2 00:01 02-Jul-00:01
14953 drwxr-xr-x 2 root adm 512 Aug 3 00:01 03-Aug-00:01
25672 drwxr-xr-x 2 root adm 512 Jul 3 00:01 03-Jul-00:01
67431 drwxr-xr-x 2 root adm 512 Aug 4 00:01 04-Aug-00:01
28295 drwxr-xr-x 2 root adm 512 Jul 4 00:01 04-Jul-00:01
68673 drwxr-xr-x 2 root adm 512 Aug 5 00:01 05-Aug-00:01
29729 drwxr-xr-x 2 root adm 512 Jul 5 00:01 05-Jul-00:01
70025 drwxr-xr-x 2 root adm 512 Aug 6 00:01 06-Aug-00:01
31075 drwxr-xr-x 2 root adm 512 Jul 6 00:01 06-Jul-00:01
70025 drwxr-xr-x 2 root adm 512 Aug 6 00:01 06-Aug-00:01
31075 drwxr-xr-x 2 root adm 512 Jul 6 00:01 06-Jul-00:01
71342 drwxr-xr-x 2 root adm 512 Aug 7 00:01 07-Aug-00:01
36466 drwxr-xr-x 2 root adm 512 Jul 7 00:01 07-Jul-00:01
72728 drwxr-xr-x 2 root adm 512 Aug 8 00:01 08-Aug-00:01
39190 drwxr-xr-x 2 root adm 512 Jul 8 00:01 08-Jul-00:01
73986 drwxr-xr-x 2 root adm 512 Aug 9 00:01 09-Aug-00:01
40493 drwxr-xr-x 2 root adm 512 Jul 9 00:01 09-Jul-00:01
75347 drwxr-xr-x 2 root adm 512 Aug 10 00:01 10-Aug-00:01
41808 drwxr-xr-x 2 root adm 512 Jul 10 00:01 10-Jul-00:01
45894 drwxr-xr-x 2 root adm 512 Jul 11 00:01 11-Jul-00:01
47257 drwxr-xr-x 2 root adm 512 Jul 12 00:01 12-Jul-00:01
51247 drwxr-xr-x 2 root adm 512 Jul 13 00:01 13-Jul-00:01
58018 drwxr-xr-x 2 root adm 512 Jul 14 00:01 14-Jul-00:01
64613 drwxr-xr-x 2 root adm 512 Jul 15 00:01 15-Jul-00:01
65964 drwxr-xr-x 2 root adm 512 Jul 16 00:01 16-Jul-00:01
68660 drwxr-xr-x 2 root adm 512 Jul 17 00:01 17-Jul-00:01
70014 drwxr-xr-x 2 root adm 512 Jul 18 00:01 18-Jul-00:01
41773 drwxr-xr-x 2 root adm 512 Jun 18 11:36 18-Jun-11:36
71332 drwxr-xr-x 2 root adm 512 Jul 19 00:01 19-Jul-00:01
72697 drwxr-xr-x 2 root adm 512 Jun 19 11:36 19-Jun-11:36
72718 drwxr-xr-x 2 root adm 512 Jul 20 00:01 20-Jul-00:01
51192 drwxr-xr-x 2 root adm 512 Jun 20 11:36 20-Jun-11:36
73976 drwxr-xr-x 2 root adm 512 Jul 21 00:01 21-Jul-00:01
29704 drwxr-xr-x 2 root adm 512 Jun 21 11:37 21-Jun-11:37
75334 drwxr-xr-x 2 root adm 512 Jul 22 00:01 22-Jul-00:01
64588 drwxr-xr-x 2 root adm 512 Jun 22 11:37 22-Jun-11:37
76666 drwxr-xr-x 2 root adm 512 Jul 23 00:01 23-Jul-00:01
24320 drwxr-xr-x 2 root adm 512 Jun 23 11:37 23-Jun-11:37
78050 drwxr-xr-x 2 root adm 512 Jul 24 00:01 24-Jul-00:01
76642 drwxr-xr-x 2 root adm 512 Jun 24 11:37 24-Jun-11:37
86092 drwxr-xr-x 2 root adm 512 Jun 24 15:48 24-Jun-15:48
22910 drwxr-xr-x 2 root adm 512 Jun 24 16:20 24-Jun-16:20
79345 drwxr-xr-x 2 root adm 512 Jul 25 00:01 25-Jul-00:01
25663 drwxr-xr-x 2 root adm 512 Jun 25 00:01 25-Jun-00:01
80706 drwxr-xr-x 2 root adm 512 Jul 26 00:01 26-Jul-00:01
28286 drwxr-xr-x 2 root adm 512 Jun 26 00:01 26-Jun-00:01
83458 drwxr-xr-x 2 root adm 512 Jul 27 00:01 27-Jul-00:01
29720 drwxr-xr-x 2 root adm 512 Jun 27 00:01 27-Jun-00:01
84817 drwxr-xr-x 2 root adm 512 Jul 28 00:01 28-Jul-00:01
31066 drwxr-xr-x 2 root adm 512 Jun 28 00:01 28-Jun-00:01
86165 drwxr-xr-x 2 root adm 512 Jul 29 00:01 29-Jul-00:01
36451 drwxr-xr-x 2 root adm 512 Jun 29 00:01 29-Jun-00:01
  218 drwxr-xr-x 2 root adm 512 Jul 30 00:01 30-Jul-00:01
21656 drwxr-xr-x 2 root adm 512 Jun 30 00:01 30-Jun-00:01
 9585 drwxr-xr-x 2 root adm 512 Jul 31 00:01 31-Jul-00:01
#

Regs,

Guy

Guy R. Loucks
Senior Unix Systems Administrator
Networks Branch
NSW Department of Education & Training
Information Technology Bureau
Direct +61 2 9942 9887
Fax +61 2 9942 9600
Mobile +61 (0)18 041 186
Email guy.loucks_at_det.nsw.edu.au
Received on Tue Aug 10 1999 - 06:17:28 NZST

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