I tried using the following script to mirror cooker daily

#! /bin/bash
rsync -av ftp.sunet.se::Mandrake-devel /home/ftp/Linux/

I use the mirror mostly for ftp installations and the above downloads much 
more than I use.

Does this look reasonable?

#! /bin/bash
rsync -av --exclude 'ppc/' --exclude 'cookfire/' --exclude 'SRPMS/' --exclude 
'unsupported/' --exclude 'others/' --delete-after --delete-excluded 
ftp.sunet.se::Mandrake-devel /home/ftp/pub/mandrake-devel/

Jim Tarvid

Reply via email to