<?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: /bin/rm: Argument list too long</title>
	<atom:link href="http://www.deckerd.com/core/rm-argument-list-too-long-fixed/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.deckerd.com/core/rm-argument-list-too-long-fixed/</link>
	<description></description>
	<lastBuildDate>Fri, 19 Feb 2010 13:50:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ryan Thompson</title>
		<link>http://www.deckerd.com/core/rm-argument-list-too-long-fixed/comment-page-1/#comment-1032</link>
		<dc:creator>Ryan Thompson</dc:creator>
		<pubDate>Thu, 08 Jan 2009 17:01:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.deckerd.com/rm-argument-list-too-long-fixed/#comment-1032</guid>
		<description>Thanks for this info. My drive was nearly maxed and I did not know how to get passed the &#039;Argument List Too Long&#039; issue. This worked well and it only took a few minutes to get rid of over 5GB of files.

BTW... I tried the other suggested method: find . -name ?11*? &#124; xargs rm method but I continued to get the &#039;Argument List Too Long&#039; error with it.</description>
		<content:encoded><![CDATA[<p>Thanks for this info. My drive was nearly maxed and I did not know how to get passed the &#8216;Argument List Too Long&#8217; issue. This worked well and it only took a few minutes to get rid of over 5GB of files.</p>
<p>BTW&#8230; I tried the other suggested method: find . -name ?11*? | xargs rm method but I continued to get the &#8216;Argument List Too Long&#8217; error with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://www.deckerd.com/core/rm-argument-list-too-long-fixed/comment-page-1/#comment-764</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Sat, 26 Apr 2008 22:11:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.deckerd.com/rm-argument-list-too-long-fixed/#comment-764</guid>
		<description>Eric,

Great!  Glad I could help. 

Regards,
Drew</description>
		<content:encoded><![CDATA[<p>Eric,</p>
<p>Great!  Glad I could help. </p>
<p>Regards,<br />
Drew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Amundson</title>
		<link>http://www.deckerd.com/core/rm-argument-list-too-long-fixed/comment-page-1/#comment-415</link>
		<dc:creator>Eric Amundson</dc:creator>
		<pubDate>Sat, 05 Apr 2008 14:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.deckerd.com/rm-argument-list-too-long-fixed/#comment-415</guid>
		<description>That is AWESOME!  Thanks so much - I&#039;ve been looking for an easy way to get around this &#039;Argument List Too Long&#039; error.

This worked perfectly.</description>
		<content:encoded><![CDATA[<p>That is AWESOME!  Thanks so much &#8211; I&#8217;ve been looking for an easy way to get around this &#8216;Argument List Too Long&#8217; error.</p>
<p>This worked perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://www.deckerd.com/core/rm-argument-list-too-long-fixed/comment-page-1/#comment-365</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Fri, 18 Jan 2008 20:29:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.deckerd.com/rm-argument-list-too-long-fixed/#comment-365</guid>
		<description>[quote comment=&quot;363&quot;]Thanks Drew, I just deleted 817 million CCTV images with this, saved my bacon. It did take a few days![/quote]
Wow!  That&#039;s awesome!  Glad I could help :)

Regards,
Drew</description>
		<content:encoded><![CDATA[<blockquote cite="http://www.deckerd.com/core/rm-argument-list-too-long-fixed/#comment-363"><p>
Thanks Drew, I just deleted 817 million CCTV images with this, saved my bacon. It did take a few days!</p>
</blockquote>
<p>Wow!  That&#8217;s awesome!  Glad I could help :)</p>
<p>Regards,<br />
Drew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Smith</title>
		<link>http://www.deckerd.com/core/rm-argument-list-too-long-fixed/comment-page-1/#comment-363</link>
		<dc:creator>Jim Smith</dc:creator>
		<pubDate>Wed, 16 Jan 2008 22:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.deckerd.com/rm-argument-list-too-long-fixed/#comment-363</guid>
		<description>Thanks Drew, I just deleted 817 million CCTV images with this, saved my bacon. It did take a few days!</description>
		<content:encoded><![CDATA[<p>Thanks Drew, I just deleted 817 million CCTV images with this, saved my bacon. It did take a few days!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://www.deckerd.com/core/rm-argument-list-too-long-fixed/comment-page-1/#comment-261</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Fri, 20 Jul 2007 18:00:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.deckerd.com/rm-argument-list-too-long-fixed/#comment-261</guid>
		<description>Erin&#039;s method caused a segmentation fault when processing a huge number of files in one particular directory.

Drew&#039;s find example worked fine in that case.

Thanks, this was helpful.</description>
		<content:encoded><![CDATA[<p>Erin&#8217;s method caused a segmentation fault when processing a huge number of files in one particular directory.</p>
<p>Drew&#8217;s find example worked fine in that case.</p>
<p>Thanks, this was helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://www.deckerd.com/core/rm-argument-list-too-long-fixed/comment-page-1/#comment-251</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Sun, 01 Jul 2007 06:25:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.deckerd.com/rm-argument-list-too-long-fixed/#comment-251</guid>
		<description>&lt;strong&gt;@ Craig:&lt;/strong&gt; Don&#039;t know about that. I mean, I hope you aren&#039;t another one of those &quot;this took 2.345547 seconds longer to run than this other one&quot; kind of guy.  The original error I found was my fix and it is very efficient and fast :)

Regards,
Drew</description>
		<content:encoded><![CDATA[<p><strong>@ Craig:</strong> Don&#8217;t know about that. I mean, I hope you aren&#8217;t another one of those &#8220;this took 2.345547 seconds longer to run than this other one&#8221; kind of guy.  The original error I found was my fix and it is very efficient and fast :)</p>
<p>Regards,<br />
Drew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://www.deckerd.com/core/rm-argument-list-too-long-fixed/comment-page-1/#comment-245</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Thu, 21 Jun 2007 05:56:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.deckerd.com/rm-argument-list-too-long-fixed/#comment-245</guid>
		<description>Your solution is very slow and inefficient, as it&#039;ll call rm once for every single file. What you want is:

find . -name &#039;11*&#039; &#124; xargs rm</description>
		<content:encoded><![CDATA[<p>Your solution is very slow and inefficient, as it&#8217;ll call rm once for every single file. What you want is:</p>
<p>find . -name &#8216;11*&#8217; | xargs rm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.deckerd.com/core/rm-argument-list-too-long-fixed/comment-page-1/#comment-123</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 04 Apr 2007 22:09:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.deckerd.com/rm-argument-list-too-long-fixed/#comment-123</guid>
		<description>It does.</description>
		<content:encoded><![CDATA[<p>It does.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://www.deckerd.com/core/rm-argument-list-too-long-fixed/comment-page-1/#comment-122</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Wed, 04 Apr 2007 21:15:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.deckerd.com/rm-argument-list-too-long-fixed/#comment-122</guid>
		<description>Joe,

In order to do what you are wanting, you would simply change the search expression like so:
&lt;code&gt;
find . -name &#039;upgrade.txt.*&#039; -exec rm &quot;{}&quot; ;
&lt;/code&gt;

Also note that in your reply, you stated upgrade.txt.1, so that&#039;s why I said make sure it says upgrade.txt.*

If you just want it to find anything with upgrade.txt, you would need to issue the following:
&lt;code&gt;
find . -name &#039;upgrade.txt*&#039; -exec rm &quot;{}&quot; ;
&lt;/code&gt;

Hope this helps!</description>
		<content:encoded><![CDATA[<p>Joe,</p>
<p>In order to do what you are wanting, you would simply change the search expression like so:<br />
<code><br />
find . -name 'upgrade.txt.*' -exec rm "{}" ;<br />
</code></p>
<p>Also note that in your reply, you stated upgrade.txt.1, so that&#8217;s why I said make sure it says upgrade.txt.*</p>
<p>If you just want it to find anything with upgrade.txt, you would need to issue the following:<br />
<code><br />
find . -name 'upgrade.txt*' -exec rm "{}" ;<br />
</code></p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
