#!/bin/sh
MIRROR=rsync://slackware.uk
TARGET=/storage/salix
VERSION=14.2
rsync -rlpt --delete -P -H $MIRROR/salix/sbo/$VERSION $TARGET/sbo
for Arch in x86_64; do
  rsync -rlpt --delete -P -H $MIRROR/salix/$Arch/$VERSION $TARGET/$Arch
#  rsync -rlpt --delete -P -H $MIRROR/salix/$Arch/extra-$VERSION $TARGET/$Arch
done
TARGET=/storage
for Arch in x86_64; do
  rsync -rlpt --delete -P -H $MIRROR/slackware/slackware-$VERSION $TARGET
  rsync -rlpt --delete -P -H $MIRROR/slackware/slackware64-$VERSION $TARGET
done
