This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: modification to mkcygwget to overcome arg length limitation
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com, nehring at newparticles dot com
- Date: Thu, 23 Mar 2006 05:35:54 -0700
- Subject: Re: modification to mkcygwget to overcome arg length limitation
- References: <4421950A.8010000@newparticles.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Lance Nehring on 3/22/2006 11:18 AM:
> Hi all,
> I tried to use the mkcygwget script to download a cygwin mirror for
> offline installation. The mkcygwget script generates a script named
> cygwget to do the heavy lifting of retreiving files. However, I got a
> "argument list too long" exception from wget, since the generated script
> has all the files to be downloaded appended to a single wget command.
Consider using xargs. It is more efficient to collect as many arguments
as will fit to a single wget command than it is to spawn a separate wget
process for every filename.
- --
Life is short - so eat dessert first!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEIpYq84KuGfSFAYARAiRIAKCeXeLXWxbJcUPPnpIx2yLu9Eu4/wCgrDPm
rZRIvjUMt0yKGVsQrTfoyrk=
=CMpO
-----END PGP SIGNATURE-----
--
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/