#!/bin/sh . $(dirname $0)/conf.sh test -z "$1" && { echo "Usage: $(basename $0) Where is any location valid for rsync" exit 1 } rsync -avz --exclude-from $(dirname $0)/sync-exclude.list repos/ $1