#!/bin/sh cd /path/to/pkgfe-www || exit 1 # http://ketas.si.pri.ee/locker.inc.sh . /path/to/locker.inc.sh __lockfile /path/to/pkgfe.lock __lock rsync \ \ --quiet \ \ --bwlimit=3 \ --timeout=30 \ \ --delete \ --delete-excluded \ \ --ipv4 \ --update \ --compress \ --recursive \ \ --filter='- devel/*' \ --filter='- LAST_RSYNC' \ \ dome.gotdns.org::pkgfe . && \ \ \ ( \ echo 'At' ; \ date ; \ echo ; \ echo 'From' ; \ echo 'http://ketas.si.pri.ee/pkgfe' \ \ ) > LAST_RSYNC __unlock