> I would like to setup a mirror of cooker
> and am having difficulty with the version
> of rsync which was installed with 7.1,
> can anyone on the list who has used rsync
> or a similiar mirroring tool offer any
> suggestion as to how I could do this.

Use something like this (this is what I use, it works great..):

(Be aware, these lines are purposely wrapped due to their length..)

#!/bin/bash

rsync -av --delete --exclude "*.src.rpm" \ 
ftp.sunet.se::Mandrake-devel/cooker \ 
/mirror/linux/mandrake

rsync -av --delete --exclude "*.src.rpm" \ 
ftp.sunet.se::Mandrake-crypto/7.1 \ 
/mirror/linux/mandrake/crypto

rsync -av --delete --exclude "*.src.rpm" \ 
ftp.sunet.se::Mandrake/updates/7.1/RPMS \ 
/mirror/linux/mandrake/updates/7.1

rsync -av --delete --exclude "*.src.rpm" \ 
ftp.sunet.se::Mandrake/updates/7.1/descriptions \ 
/mirror/linux/mandrake/updates/7.1 

Don Head                      [[EMAIL PROTECTED]]
Linux Mentor                      [1 314 692-1942]
Wave Technologies, Inc.     [1 800 826-4640 x1942]
[AIM - Don Wave][ICQ - 18804935][Yahoo - Don_Wave]

Reply via email to