[NTLUG:Discuss] rm doesn't recurse
Paul Drew
solarcurve at msn.com
Thu May 6 08:41:24 CDT 2004
I would try a find and then run an xargs and rm the results.
find . -name "*.zip" | xargs rm {}
Its been a while since I had to use it so my syntax may be a little off. I
hope that helps some.
>From: Bobby Wrenn <bobby at wrennest.com>
>Reply-To: NTLUG Discussion List <discuss at ntlug.org>
>To: NTLUG Discussion List <discuss at ntlug.org>
>Subject: [NTLUG:Discuss] rm doesn't recurse
>Date: Thu, 06 May 2004 08:38:38 -0500
>
>rm man page says -r option will make rm recurse through directories. It
>doesn't.
>
>I'm trying to remove *.zip from all sub-directories below the current. If
>rm won't do it, what will?
>
>TIA
>Bobby
>
>
>_______________________________________________
>https://ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list