Date: Thu, 11 Feb 2010 01:03:07 +1100 From: andrew clarke <mail@ozzmosis.com> To: Alexander Best <alexbestms@wwu.de> Cc: freebsd-questions@FreeBSD.org Subject: Re: problem with `find -delete` Message-ID: <20100210140307.GA38085@ozzmosis.com> In-Reply-To: <permail-20100210132434f7e55a9d00005170-a_best01@message-id.uni-muenster.de> References: <20100210031456.GA80933@eggman.experts-exchange.com> <permail-20100210132434f7e55a9d00005170-a_best01@message-id.uni-muenster.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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?20100210140307.GA38085>