#!/bin/bash

REMOTE=rsync://qt.mirror.constant.com/qt-all
LOCAL=/home/server/files.acnas.net/Develop/Win/Qt

mirror() {
  echo "Mirroring"
  rsync --recursive --hard-links --safe-links --copy-links --times \
    --delete-after --delete-excluded \
    --info=progress2 --stats --human-readable \
    $REMOTE $LOCAL
}

mirror
