Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 May 2011 12:19:23 -0400
From:      Eitan Adler <lists@eitanadler.com>
To:        "Jack L. Stone" <jacks@sage-american.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: find and remove ?
Message-ID:  <BANLkTinK5sLC=Y6qaKB%2BrzqeDTo6%2BiLq5w@mail.gmail.com>
In-Reply-To: <3.0.1.32.20110515110806.0195b6e0@sage-american.com>
References:  <3.0.1.32.20110514171011.018a0598@sage-american.com> <BANLkTinfwahWPuQEQYoxcBJBqgpTNH2FqA@mail.gmail.com> <3.0.1.32.20110515102740.0195b6e0@sage-american.com> <BANLkTinCHBC=V61Pxv1PMVRZsmSfUyGZAA@mail.gmail.com> <3.0.1.32.20110515110806.0195b6e0@sage-american.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> The comamnd:
> #find /path/to/start/deleting -type d -name _vti_\*
> worked fine to give the listing of what to delete, but when just adding the
> "-delete" at the end didn't delete, just ran the listing again.

I forgot that adding the -type d won't let it delete non-empty
directories. Try running it like:
find /path/to/start/deleting -name _vti_\* -delete

>
> (^_^)



-- 
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinK5sLC=Y6qaKB%2BrzqeDTo6%2BiLq5w>