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: <42676F27.3000004@serv.net> Date: Thu, 21 Apr 2005 02:15:19 -0700 From: L Anderson User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a5) Gecko/20041122 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> <426624DE DOT 4D2FB397 AT dessent DOT net> In-Reply-To: <426624DE.4D2FB397@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: > > >>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. > 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 cut that down significantly by using --exclude to ignore the > source packages. Of course, that means you can't install source > packages. > I know, but then we wouldn't have all that nifty source code easily at hand to drive us crazy trying to figure out what it does :-) so that someday we might be able to contribute. You have given me a couple of things to think about, especially using cron, thanks. Regards, Lowell Anderson -- 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/