#!/bin/bash

# Sleep randomly between 0 and 3600 seconds (1 hour)
rnum=$RANDOM
let "rnum %= 3600"
sleep $rnum

# --delete-after , --delay-updates and --fuzzy are best practices
rsync -qrlpt --delete-after --exclude=debug/ --delay-updates --fuzzy --partial --timeout=10 rsync://fedora-mirror/fedora-linux-updates/6/i386/ /export/mirror/fedora-linux-updates/6/i386/

