[NTLUG:Discuss] rm doesn't recurse
Cameron, Thomas
Thomas.Cameron at bankofamerica.com
Thu May 6 13:11:11 CDT 2004
> -----Original Message-----
> From: discuss-bounces at ntlug.org [mailto:discuss-bounces at ntlug.org]On
> Behalf Of Bobby Wrenn
> Sent: Thursday, May 06, 2004 8:39 AM
> To: NTLUG Discussion List
> Subject: [NTLUG:Discuss] rm doesn't recurse
>
>
> 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?
find /path/to/directory -name "*.zip" | xargs rm -f
--
Thomas Cameron, RHCE, CNE, MCSE, MCT
Assistant Vice President
Linux Design and Engineering
Bank of America
(972) 997-9641
The opinions expressed in this message are mine alone and do not necessarily reflect the opinions of my employer, Bank of America.
More information about the Discuss
mailing list