Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 May 2011 19:50:15 +0200
From:      Rolf Nielsen <listreader@lazlarlyricon.com>
To:        "Jack L. Stone" <jacks@sage-american.com>
Cc:        Eitan Adler <lists@eitanadler.com>, freebsd-questions@freebsd.org
Subject:   Re: find and remove ?
Message-ID:  <4DD01257.1070905@lazlarlyricon.com>
In-Reply-To: <3.0.1.32.20110515124117.0195b6e0@sage-american.com>
References:  <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
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
>
> (^_^)
> Happy trails,
> Jack L. Stone
>
> System Admin
> Sage-american
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>


find /path/to/start/deleting -name _vti_\* -exec rm -Rd {} \;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DD01257.1070905>