Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2000 23:57:28 +0000
From:      Tony Finch <dot@dotat.at>
To:        Doug Barton <DougB@gorean.org>
Cc:        Gerhard Sittig <Gerhard.Sittig@gmx.net>, FreeBSD stable <freebsd-stable@FreeBSD.org>
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>
In-Reply-To: <399EE6A7.5F82DD6C@gorean.org>
References:  <200008171114.e7HBEuq01585@hak.lan.Awfulhak.org> <Pine.BSF.4.21.0008171221050.45645-100000@dt051n1f.san.rr.com> <20000818193708.T252@speedy.gsinet> <399EE6A7.5F82DD6C@gorean.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton <DougB@gorean.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000819235728.B261>