On Sat, 22 May 2010 10:10:02 +0200, Neil Bothwick wrote about Re: [gentoo-user] xargs and rm funkiness: >On Fri, 21 May 2010 21:49:49 -0400, Daniel D Jones wrote: > >> find -name *.ext | xargs -0 rm >> >> I get the result: >> >> rm: cannot remove `Long File Name One.ext\nLong File Name >> Two.ext\nLong File Name Three.ext\n': File name too long. > >xargs can suck with anything but plain ASCII-without-spaces filenames., >and it quite unnecessary here. > >find -name *.ext -exe rm "{}" \; > >or maybe even > >find -name *.ext -exe rm "{}" + Or simpler still: find -name *.ext -delete -- Regards, Dave [RLU #314465] ====================================================================== dwnoon@ntlworld.com (David W Noon) ======================================================================