Date: Wed, 10 Feb 2010 16:17:41 +0100 (CET) From: Alexander Best <alexbestms@wwu.de> To: andrew clarke <mail@ozzmosis.com> Cc: freebsd-questions@FreeBSD.org Subject: Re: problem with `find -delete` Message-ID: <permail-20100210151741f7e55a9d00007f9e-a_best01@message-id.uni-muenster.de> In-Reply-To: <20100210140307.GA38085@ozzmosis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
*hehehe* right. that would have been the easiest solution. thanks a bunch. alex andrew clarke schrieb am 2010-02-10: > On Wed 2010-02-10 14:24:34 UTC+0100, Alexander Best > (alexbestms@wwu.de) wrote: > > thanks goes to jilles on #freebsd-bugbuster. he told me that > > -delete doesn't > > delete directories recursively. > > so what i'm bow using is > > sudo /usr/bin/find /usr/ports -name work -depth 3 -type d -exec rm > > -rf {} + > AFAIK another method is: > sudo rm -rf /usr/ports/*/*/work
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-20100210151741f7e55a9d00007f9e-a_best01>