Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <4267DA7D.9020205@serv.net>
Date: Thu, 21 Apr 2005 09:53:17 -0700
From: L Anderson <lowella@serv.net>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a5) Gecko/20041122
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Mirror, Mirroring, Download, Downloading Cygwin Release Using rsync
References: <42661EB0.5000108@serv.net> <426624DE.4D2FB397@dessent.net> <42676F27.3000004@serv.net> <42677AEF.3C25D413@dessent.net>
In-Reply-To: <42677AEF.3C25D413@dessent.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Brian Dessent wrote:
> L Anderson wrote:
> 
> 
>>Initially I used --exclude but decided it was safer to ask for what I
>>want rather than for everything but what I don't want. If a subdirectory
>>that I don't want is added to the mirror, it gets downloaded until I
>>discover it and change the --exclude to exclude it. The mirror's
>>directory structure is more stable now than when I stared so it might
>>not be such a problem, however, .....
> 
> 
> You can do that too in a single pass:
> 
> mirror=mirrors.kernel.org
> dir=sources.redhat.com/cygwin
> dest=/d/cygwin-mirror
> rsync -rlt $mirror::$dir/setup*\ $dir/release/ $dest
> 

In deference to the Bellman: "I like it, I like it, I like it!!!" It's 
revisit my old script time!

> (The rsync man page covers specifying multiple sources in the section
> 'ADVANCED USAGE'.)
> 

Thanks for this pointer and the help!

Regards,

Lowell


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

