Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 16 Mar 2004 20:54:42 -0800
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
To: cygwin@cygwin.com
Subject: restarting interrupted setup downloads
Message-ID: <20040317045441.GA1568@efn.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Organization: bs"d
X-IsSubscribed: yes

When using mirrors.rcn.net, I often get connections dropped at ~ even
megabyte points during the download when on a low speed connection.

After setup has done it's best, I run the following in the local
package directory (named "cygwin") to pick up the files that weren't
correctly, and then run setup to install them:

perl -nwe'/\\cygwin\/(.*) wrong size/ && ($url = $dir = $1) && $url =~ s/%3a/:/ && $url =~ s/%2f/\//g && $dir =~ s/(.*)\/.*/$1/ && print "(mkdir $dir; cd $dir; wget -c $url)\n"' setup.log.full | bash

--
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/

