#!/bin/sh # Choose one site below and un-comment it. URL="rsync://rsync.scientificlinux.org/scientific" # Set OPTIONS. OPTIONS="-avzP --delete" # Set the destination path where the repository to be stored. DEST="/pub/ftp/pub/linux/scientific" # Run rsync. # 6.3 EXCLUDE="--exclude=i386/iso/ --exclude=x86_64/iso/" /usr/bin/rsync $OPTIONS $EXCLUDE ${URL}/6.3 $DEST # 6x EXCLUDE="--exclude=archive/debuginfo/ --exclude=archive/obsolete/" /usr/bin/rsync $OPTIONS $EXCLUDE ${URL}/6x $DEST exit 0