From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,64f12ec975ab87e0 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-09-27 03:07:21 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: schuderfloss@netscape.net (Martin Brodie) Newsgroups: comp.unix.tru64 Subject: Re: Cron job to remove core files ..output error emails help Date: 27 Sep 2002 03:07:20 -0700 Organization: http://groups.google.com/ Message-ID: <4bb16963.0209270207.fbe8457@posting.google.com> References: <4bb16963.0209260804.c6148d7@posting.google.com> NNTP-Posting-Host: 52.159.30.202 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1033121241 10657 127.0.0.1 (27 Sep 2002 10:07:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 27 Sep 2002 10:07:21 GMT Xref: archiver1.google.com comp.unix.tru64:8743 duane@hunch.zk3.dec.com (Andrew Duane USG) wrote in message news:... > In article <4bb16963.0209260804.c6148d7@posting.google.com> schuderfloss@netscape.net (Martin Brodie) writes: > >Ok I have a cron entry that performs the following > > > > find / -name core ! -fstype nfs -exec rm {} \; > > > >everytime it runs it produces a email with contents like this: > > > >find: /proc/00000 : No such file or directory > >find: /proc/679022 : No such file or directory > > > >Is there anyway to suppress this, in the event it does not find a core > >file and/or the 'No such file...' entry. > > Add "! -fstype procfs" or some other way to stop it from traversing > into /proc, which is a procfs file system. Tried the fstype addition to the command and still the same result. Any other ideas? How can I exclude in the search path /proc ?