*BSD News Article 1957


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!spool.mu.edu!snorkelwacker.mit.edu!tamsun.tamu.edu!cs.utexas.edu!uunet!mcsun!Germany.EU.net!tools!ws
From: ws@tools.de (Wolfgang Solfrank)
Newsgroups: comp.unix.bsd
Subject: Re: The find not-operator
Message-ID: <WS.92Jul16200643@kurt.tools.de>
Date: 16 Jul 92 18:06:43 GMT
Article-I.D.: kurt.WS.92Jul16200643
References: <BrG8o9.Eq6@ais.org>
Sender: news@tools.de
Organization: TooLs GmbH, Bonn, Germany
Lines: 8
Nntp-Posting-Host: kurt.tools.de
In-reply-to: lsloan@ais.org's message of 15 Jul 92 21:21:43 GMT

Try this:

	find . -name bin -prune -o -name testfile -print

This should do what you want (at least if you don't have
subdirectories in bin that contain another testfile).
--
ws@tools.de     (Wolfgang Solfrank, TooLs GmbH) +49-228-985800