On 03/07/2003 @ 10:10, Suresh Ramasubramanian wrote:

> At 09:52 AM 3/7/2003 +0530, Arvind wrote:
> >i have 19201 files in my directory.
> >
> >each time i issue the command, i am getting an error.
> >
> >#  rm -rf *
> >bash: /bin/rm: Argument list too long
> >
> >
> >can anybody tell me why this is happening ?
> 
> * as a wildcard gets expanded to a list of files in that directory.
> 
> use find to list the files and pass it an xargs of rm

In light of the many redundant replies (such as the one above), I'd like to point 
out a related excerpt from RFC 1855 (http://www.faqs.org/rfcs/rfc1855.html):

    "In general, it's a good idea to at least check all your mail
     subjects before responding to a message."

This is just a suggestion, but I think we could significantly reduce unnecessary list
traffic by checking if a question has already been answered before replying with the
same solution.  Understandably some mail servers will be lagged to the extent of
making this issue unavoidable, but it would be nice to make an effort nonetheless.
    
What do you all think?

Regards,
-- 
Sahil Tandon <[EMAIL PROTECTED]>
http://people.brandeis.edu/~sahil


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to