problem with `find -delete`

Alexander Best alexbestms at wwu.de
Wed Feb 10 15:17:43 UTC 2010


*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 at 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


More information about the freebsd-questions mailing list