echo this program is old, use \`rsync-update real\` instead
exit 1
[ `hostname` = jam ] || . fail "run rsync-update-* from jam, not bart!"
mr rsync.log.real 2>/dev/null

options="-zauv --exclude /.mozilla/**/Cache/ --exclude /.mozilla/**/lock --exclude /.bash_history --exclude /splishtory/ --exclude /.viminfo --exclude /.splish.tty.log --exclude /.ssh-agent --exclude /.Xauthority --exclude /.x/ --exclude /.mutt.tmp/"

one_way_options="-zav --delete"

(
brk
echo "jam->bart syncing FOR REAL!  ^C and run rsync-update-test to test first if unsure..."
brk
rsync $options /home/sam/ bart:/home/sam/
rsync $options /share/ bart:/share/
brk
echo "bart->jam syncing FOR REAL!"
brk
rsync $options bart:/home/sam/ /home/sam/
rsync $options bart:/share/ /share/
brk
echo "jam->bart mail FOR REAL!"
brk
rsync $one_way_options /home/sam/Mail/ bart:/home/sam/Mail/
brk
echo "cvs backup FOR REAL!"
brk
rsync $one_way_options /cvs/ bart:/cvs.bak/
brk
echo "syncing done"
) | tee /tmp/rsync.log.real

mv /tmp/rsync.log.real .
