<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Linux Workaround for &#8216;Argument list too long&#8217; error message while removing all files from a directory</title>
	<atom:link href="http://worksmart.techwhack.com/39-argument-list-too-long/feed" rel="self" type="application/rss+xml" />
	<link>http://worksmart.techwhack.com/39-argument-list-too-long</link>
	<description>Tips and Tricks!</description>
	<lastBuildDate>Wed, 04 Nov 2009 10:01:31 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jean Edwidge</title>
		<link>http://worksmart.techwhack.com/39-argument-list-too-long/comment-page-1#comment-11976</link>
		<dc:creator>Jean Edwidge</dc:creator>
		<pubDate>Mon, 26 Nov 2007 12:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://worksmart.techwhack.com/39/argument-list-too-long/#comment-11976</guid>
		<description>it was verry helpfull for me</description>
		<content:encoded><![CDATA[<p>it was verry helpfull for me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://worksmart.techwhack.com/39-argument-list-too-long/comment-page-1#comment-451</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Sat, 03 Jun 2006 12:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://worksmart.techwhack.com/39/argument-list-too-long/#comment-451</guid>
		<description>Good tip!  The -exec option forks a new &#039;rm&#039; for each file, though; a more efficient solution is to use -print0:

  find . -name Ã¢â‚¬ËœCount*Ã¢â‚¬â„¢ -print0 &#124; xargs -0 rm

The -0 tells the commands to terminate arguments with a null, which solves the quotes and spaces problem (check the man page for xargs for more info).

--- SER</description>
		<content:encoded><![CDATA[<p>Good tip!  The -exec option forks a new &#8216;rm&#8217; for each file, though; a more efficient solution is to use -print0:</p>
<p>  find . -name Ã¢â‚¬ËœCount*Ã¢â‚¬â„¢ -print0 | xargs -0 rm</p>
<p>The -0 tells the commands to terminate arguments with a null, which solves the quotes and spaces problem (check the man page for xargs for more info).</p>
<p>&#8212; SER</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus</title>
		<link>http://worksmart.techwhack.com/39-argument-list-too-long/comment-page-1#comment-222</link>
		<dc:creator>Marcus</dc:creator>
		<pubDate>Thu, 27 Apr 2006 14:57:24 +0000</pubDate>
		<guid isPermaLink="false">http://worksmart.techwhack.com/39/argument-list-too-long/#comment-222</guid>
		<description>Good tips Maverick,

Another one I picked up, which is very useful when removing stuff is the -ok flag (as opposed to -exec):

find . -maxdepth 0 -name Ã¢â‚¬ËœCount*Ã¢â‚¬â„¢ -ok rm {} \;

Cheers,

Marcus</description>
		<content:encoded><![CDATA[<p>Good tips Maverick,</p>
<p>Another one I picked up, which is very useful when removing stuff is the -ok flag (as opposed to -exec):</p>
<p>find . -maxdepth 0 -name Ã¢â‚¬ËœCount*Ã¢â‚¬â„¢ -ok rm {} \;</p>
<p>Cheers,</p>
<p>Marcus</p>
]]></content:encoded>
	</item>
</channel>
</rss>
