delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/23/07:36:12

X-Spam-Check-By: sourceware.org
Message-ID: <4422962A.2020305@byu.net>
Date: Thu, 23 Mar 2006 05:35:54 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, nehring AT newparticles DOT com
Subject: Re: modification to mkcygwget to overcome arg length limitation
References: <4421950A DOT 8010000 AT newparticles DOT com>
In-Reply-To: <4421950A.8010000@newparticles.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT byu DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019