From owner-freebsd-hackers Thu May 30 19:42: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from parhelion.firedrake.org (parhelion.firedrake.org [212.135.138.219]) by hub.freebsd.org (Postfix) with ESMTP id E706E37B407 for ; Thu, 30 May 2002 19:42:06 -0700 (PDT) Received: from float by parhelion.firedrake.org with local (Exim 3.35 #1 (Debian)) id 17DcMd-0001Io-00; Fri, 31 May 2002 03:42:03 +0100 Date: Fri, 31 May 2002 03:42:03 +0100 To: Robin Breathe Cc: hackers@freebsd.org Subject: Re: find(1) - peculiar behaviour Message-ID: <20020531024203.GA5000@parhelion.firedrake.org> References: <000001c20849$c6878440$026ca8c0@ishadow> <000101c2084b$86bce150$026ca8c0@ishadow> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000101c2084b$86bce150$026ca8c0@ishadow> User-Agent: Mutt/1.3.28i From: void Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, May 31, 2002 at 03:33:18AM +0100, Robin Breathe wrote: > > I've just realised this is mentioned under BUGS in man 1 find, so my > query changes to: "anyone fancy fixing it and/or giving me some > pointers on how to fix it", or maybe suggest a better way for me to do > this? > "find -L . -type l -exec rm '{}' \;" strikes me as likely to be the > fastest alternative... though it's not very pretty ;) That's likely to be more forks and execs than the xargs version, O miserly one. :-) -- Ben "An art scene of delight I created this to be ..." -- Sun Ra To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message