Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <426624DE.4D2FB397@dessent.net> Date: Wed, 20 Apr 2005 02:46:06 -0700 From: Brian Dessent Organization: My own little world... MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Mirror, Mirroring, Download, Downloading Cygwin Release Using rsync References: <42661EB0 DOT 5000108 AT serv DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 > network. I do too but without the script part. I just have a line in my crontab: 00 10,22 * * * rsync -rlt --exclude=mail-archives rsync://mirrors.kernel.org/sources.redhat.com/cygwin/ /d/cygwin-mirror/ >/dev/null 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 directory. 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 packages. > 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. :) Brian -- 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/