problem with `find -delete`
andrew clarke
mail at ozzmosis.com
Wed Feb 10 14:03:12 UTC 2010
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