From owner-freebsd-stable Tue Aug 22 4:10:54 2000 Delivered-To: freebsd-stable@freebsd.org Received: from hand.dotat.at (CPE-144-132-129-157.nsw.bigpond.net.au [144.132.129.157]) by hub.freebsd.org (Postfix) with ESMTP id 0179437B42C for ; Tue, 22 Aug 2000 04:10:47 -0700 (PDT) Received: from fanf by hand.dotat.at with local (Exim 3.15 #3) id 13QIUS-00007s-00; Sat, 19 Aug 2000 23:57:28 +0000 Date: Sat, 19 Aug 2000 23:57:28 +0000 From: Tony Finch To: Doug Barton Cc: Gerhard Sittig , FreeBSD stable Subject: Re: remove empty TEMPROOT dirs at mergemaster's end? (was: cvs commit: src/usr.sbin/mergemaster mergemaster.sh) Message-ID: <20000819235728.B261@hand.dotat.at> References: <200008171114.e7HBEuq01585@hak.lan.Awfulhak.org> <20000818193708.T252@speedy.gsinet> <399EE6A7.5F82DD6C@gorean.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <399EE6A7.5F82DD6C@gorean.org> Organization: Covalent Technologies, Inc Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Barton wrote: > >For instance, if you actually wanted to prune the directory structure 'find -d >. -type d -links 2 -exec rmdir {} \;' would do a pretty good job.... You can use -delete instead of -exec rmdir {} \; and it'll be somewhat faster. Tony. -- en oeccget g mtcaa f.a.n.finch v spdlkishrhtewe y dot@dotat.at eatp o v eiti i d. fanf@covalent.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message