#!/bin/sh if [ ! "$#" = 2 ]; then echo "Usage: $0 [src-dir/] [dest-dir/]" exit 1 fi rsync -avhcz -e ssh --stats --progress --delete --force "$1" "$2"