long command lines

Jon Ericson Jonathan.L.Ericson@jpl.nasa.gov
Thu Jan 25 17:26:00 GMT 2001


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



More information about the Cygwin mailing list