This is the mail archive of the
mailing list for the Cygwin project.
Re: Mirror, Mirroring, Download, Downloading Cygwin Release Using rsync
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 20 Apr 2005 02:46:06 -0700
- Subject: Re: Mirror, Mirroring, Download, Downloading Cygwin Release Using rsync
- Organization: My own little world...
- References: <42661EB0.firstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
L Anderson wrote:
> I use rsync to maintain a local Cygwin release mirror so I can use Setup
> to locally install anything from Cygwin release on a number of PCs on my
I do too but without the script part. I just have a line in my crontab:
00 10,22 * * * rsync -rlt --exclude=mail-archives
I don't really see why you need to do it in two steps, just use
--exclude to get rid of stuff you don't want and mirror the base
BTW, you could get rid of that .wri extension ugliness by mounting the
logfile directory textmode, and then name the output .txt. Or get a
better text editor - I recommend Metapad for free, UltraEdit for $.
(But I realize you're probably happy with what you have and don't need
someone telling you to change.)
> The nice thing about rsync is that it downloads only what has changed
> since the last rsync and with the "--delete" option, it deletes
> everything on the local mirror that's not on the official Cygwin mirror
> being used.
That's more of a feature to me than a bug, as I like to have older
packages. Although with Peter's "Cygwin Time Machine" site that becomes
less of an issue.
> 800MB. Now it takes about 2.4GB--somebody has been busy--thanks!
> However, frequent rsyncs will only need to download a fraction of that.
You can cut that down significantly by using --exclude to ignore the
source packages. Of course, that means you can't install source
> were more North American mirrors, I'd try my hand at selecting the one
> to use randomly, rather than by menu--share the load.
Heh. Well, that's a good sentiment. I use the kernel.org mirror, and
given the amount of traffic they serve I have good faith that several MB
of cygwin packages every week or two is not even a drop in their
bucket. It looks like they've taken away their neat little BW meter
from the home page but I seem to recall it was normally pushing out a
constant 100 to 200 MBit/s, and a whole lot more in times following
kernel releases. They've got big pipes. :)
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html