Kevin Kreamer wrote:
> -ray wrote:
>> On Tue, 13 Dec 2005, John Kosta wrote:
>>
> How about (assuming GNU find and GNU xargs)
> find . -path '*/[Cc]ache/*' -print0 | xargs -0 rm -Rf
>
> HTH,
> Kevin
This worked like a charm. I took out the -R on the xargs to leave the
Cache folders. I just wanted them empty. This resulted in a lot of
/blah/blah/Cache is a directory and can not be deleted
errors, but that was ok, because it still deleted the contents.
Thanks, everyone, for your help.
___________________
Nolug mailing list
nolug@nolug.org
Received on 12/14/05
This archive was generated by hypermail 2.2.0 : 12/19/08 EST