Either rm the whole directory or (like Frank said) iterate through them:<br><br>for file in `ls`; do rm -f &quot;$file&quot;; done<br><br>This has been a discussion on here before and there are faster ways to do this. They escape me right now. The problem is that there is a limit to how many arguments you can give on the command line.<br>
<br><div class="gmail_quote">On Mon, Jun 23, 2008 at 2:22 PM, Franklin Kumro Jr &lt;<a href="mailto:fkumro@gmail.com">fkumro@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Iterate over the dir listing and rm each file<br>
<br>
Should work!<br>
<br>
-Frank<br>
<div><div></div><div class="Wj3C7c"><br>
On Mon, Jun 23, 2008 at 10:42 AM, Robert Wolfe &lt;<a href="mailto:robertwolfe@localnet.com">robertwolfe@localnet.com</a>&gt; wrote:<br>
&gt; Hi all!<br>
&gt;<br>
&gt; I have a BUNCH of files I need to clean out of a directory, but when I execute &#39;rm *&#39; I get an &quot;Argument list too long&quot; error message. &nbsp;Is there a way around this? &nbsp;I get the same when mv&#39;ing or cp&#39;ing to /dev/null as well.<br>

&gt;<br>
&gt; --<br>
&gt; Robert Wolfe &lt;<a href="mailto:robertwolfe@localnet.com">robertwolfe@localnet.com</a>&gt;<br>
&gt;<br>
&gt; &quot;The only good thing about Vista is that even<br>
&gt; &nbsp;the viruses have compatibility issues. &quot;<br>
&gt; _______________________________________________<br>
&gt; nflug mailing list<br>
&gt; <a href="mailto:nflug@nflug.org">nflug@nflug.org</a><br>
&gt; <a href="http://www.nflug.org/mailman/listinfo/nflug" target="_blank">http://www.nflug.org/mailman/listinfo/nflug</a><br>
&gt;<br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Frank<br>
Shenanigans!!<br>
I do the voodoo that I do do with sudo!<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
nflug mailing list<br>
<a href="mailto:nflug@nflug.org">nflug@nflug.org</a><br>
<a href="http://www.nflug.org/mailman/listinfo/nflug" target="_blank">http://www.nflug.org/mailman/listinfo/nflug</a><br>
</div></div></blockquote></div><br>