Path: utzoo!attcan!uunet!munnari!bruce!labtam!foster!cbp
From: cbp@foster.avid.OZ (Cameron Paine)
Newsgroups: comp.unix.wizards
Subject: Re: Problem with find(1)
Summary: Surely a filter is simpler...
Message-ID: <92@foster.avid.OZ>
Date: 26 Sep 88 13:32:09 GMT
References: <108@forsight.Jpl.Nasa.Gov>
Organization: Avid Systems Pty Ltd, Australia
Lines: 27

In article <108@forsight.Jpl.Nasa.Gov>, roston@robotics.jpl.nasa.gov (Gerry Roston) writes:
> I am having a problem with find on various Suns (3/260, 3/60) running
> Sun OS (3.5, 4.0).  The problem is as follows:  

Maybe I'm missing something cos I (sob) have never used Suns...

> Does anyone have any ideas how I can simply skip news/spool?

Have you considered:

	find / -print | egrep -v '^/usr/spool/news/.*$'

Of course, the regexp can be changed to suit the situation. You can even
'|' expressions together to exclude more than on tree in a single pass.

If this won't do what is wanted, would somebody please enlighten an
ignorant soul (one at a time, please :-).

cbp

ps: this works a treat when cpio-ing from root into a mounted
subdirectory.
-- 

cbp@foster.avid.oz - {ACS,CS}net
cbp%foster.oz.au@uunet.uu.net - ARPAnet
...!{hplabs,mcvax,nttlab,ukc,uunet}!munnari!foster.oz.au!cbp - UUCP
D