Date: Sun, 15 May 2011 13:01:00 -0500 From: "Jack L. Stone" <jacks@sage-american.com> To: Rolf Nielsen <listreader@lazlarlyricon.com> Cc: Eitan Adler <lists@eitanadler.com>, freebsd-questions@freebsd.org Subject: Re: find and remove ? Message-ID: <3.0.1.32.20110515130100.0195b6e0@sage-american.com> In-Reply-To: <4DD01257.1070905@lazlarlyricon.com> References: <3.0.1.32.20110515124117.0195b6e0@sage-american.com> <3.0.1.32.20110515110806.0195b6e0@sage-american.com> <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> <3.0.1.32.20110515124117.0195b6e0@sage-american.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 07:50 PM 5/15/2011 +0200, Rolf Nielsen wrote: >2011-05-15 19:41, Jack L. Stone skrev: >> At 12:19 PM 5/15/2011 -0400, Eitan Adler wrote: >>>> 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 >>> >>>> >>>> (^_^) >>> >>> >> >> Nope. Thate didn't delete either. >> >> Jack > >find /path/to/start/deleting -name _vti_\* -exec rm -Rd {} \; >_______________________________________________ That worked! Thanks! Jack (^_^) Happy trails, Jack L. Stone System Admin Sage-american
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.1.32.20110515130100.0195b6e0>