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

srs



-------------------------------------------------------
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