From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10952f,b69d377feb5a8a2 X-Google-Attributes: gid10952f,public X-Google-Thread: 10872d,d4c1f7c0fe672a4 X-Google-Attributes: gid10872d,public X-Google-Thread: 1020c6,d4c1f7c0fe672a4 X-Google-Attributes: gid1020c6,public X-Google-Thread: 1070f0,d4c1f7c0fe672a4 X-Google-Attributes: gid1070f0,public X-Google-Thread: 1164f8,d4c1f7c0fe672a4 X-Google-Attributes: gid1164f8,public X-Google-Thread: fcda7,d4c1f7c0fe672a4 X-Google-Attributes: gidfcda7,public From: bll@gentoo.com (Brad Lanam) Subject: Re: Secure cleaning of /tmp was Different Unixes pros & cons Date: 1998/09/23 Message-ID: #1/1 X-Deja-AN: 393865144 X-Nntp-Posting-Host: gentoo.com Sender: news@seer.gentoo.com (News Administrator) References: <35F71814.1E0B911C@iakom.com> <3602E82F.C8638268@llnl.gov> <6tuuep$kks@web.nmti.com> <360674DF.C1EDCEAF@llnl.gov> <6u5vcg$92r@web.nmti.com> Organization: Brad Lanam Walnut Creek, CA Reply-To: bll@gentoo.com Newsgroups: comp.unix.admin,comp.sys.hp.hpux,comp.sys.sgi.admin,comp.sys.sun.admin,comp.sys.dec,comp.security.unix Peter da Silva wrote: > find /tmp -type f -mtime +7 -print | grep '^/tmp' | grep -v "$W" | I would do a ... -mtime +7 -atime +7 ... You don't want to trash files that have been created long ago and are still open. -- Brad -- -- Brad Lanam bll@gentoo.com