#!/bin/sh # Modified from http://www.gentoo.org/doc/en/rsync.xml#doc_chap3 RSYNCSOURCE=rsync://rsync.us.gentoo.org/gentoo-portage BASEDIR=${MIRRORDIR}/gentoo-portage rsync --recursive --times --links --hard-links \ --stats \ --verbose \ --perms \ -D \ --delete \ --timeout=300 \ ${RSYNCSOURCE} ${BASEDIR}