bash: /usr/bin/rm: Argument list too long

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Mon Aug 22 14:58:00 GMT 2005


On Mon, Aug 22, 2005 at 07:16:22AM -0600, Eric Blake wrote:
>According to Morten Kjarulff on 8/22/2005 6:56 AM:
>>If I try to rm many files, or fewer files with long names I get "bash:
>>/usr/bin/rm: Argument list too long".  Can anyone tell the limits?
>
>The limits are pretty low if you are using Windows mechanisms, although
>I don't know the exact limit (they can be increased by mounting /bin as
>cygwin-executable, but even then still have limits).

There will be some limits (especially with cygwin 1.5.18 - this is fixed
in snapshots) but mounting the /bin and /usr/bin directories with -X
should increase the command line length enormously over the Windows
default of around 32K.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list