This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: long command lines


Mike Schuster wrote:
> 
> Problem: I couldn't figure out how to get very long command line
> arguments to work (~32k) (for example 'ls */*/*/*', if you have a lot of
> files on the disk).
> 
> Question: Does anybody know if this
>   a) a Windows problem,
>   b) a cygwin problem,
>   c) something that can easily be fixed by setting some parameter
> (Which?).

You should be using some combination of find and/or xargs rather than
wildcard expansion.  For instance, "find .".  This is a general shell
issue not limited to either Windows or cygwin.  

Jon
-- 
Knowledge is that which remains when what is
learned is forgotten. - Mr. King

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]