#!/bin/sh
# See http://www.openbsd.org/ftp.html for up-to-date mirror list!
REMOTE=rsync://ftp.eu.openbsd.org/OpenBSD/
PUBDIR=/raid/ftp/pub/OpenBSD
if [ "$1" = "-v" ]; then
verbose="-v"
else
verbose="-q"
fi
rsync $verbose -a -i --recursive --times --links --hard-links --delete \
--exclude="/[2-3].[0-9]" \
--exclude="/4.[0-8]" \
--exclude="/cvs" \
--exclude="/distfiles" \
--exclude="/tmp" \
--exclude="/README" \
--exclude="/README~" \
${REMOTE} ${PUBDIR}