[NTLUG:Discuss] rm doesn't recurse

George Lass George.Lass at osc.com
Thu May 6 09:53:06 CDT 2004


find . -name \*.zip -exec rm -f {} \;

Enjoy
G



-----Original Message-----
From: discuss-bounces at ntlug.org on behalf of Bobby Wrenn
Sent: Thu 5/6/2004 9:08 AM
To: NTLUG Discussion List
Subject: Re: [NTLUG:Discuss] rm doesn't recurse
 
Paul Drew wrote:
> I would try a find and then run an xargs and rm the results.
> 
> find . -name "*.zip" | xargs rm {}
> 
> 
Did the job and then returned:
rm: cannot remove `{}': No such file or directory
But it worked.

Thanks
Bobby


_______________________________________________
https://ntlug.org/mailman/listinfo/discuss






More information about the Discuss mailing list