#!/bin/sh set -e cd "$(dirname "$(realpath "$0")")" if [ $# -lt 1 ] then exit 2 fi DEST="$1" rsync -avzhP ./instance "$DEST"