#!/usr/bin/env dash set -e set -u cd "$(dirname "$0")" rsync -avPz "$1" "seppo.social:~/seppo.social/tmp/" ssh seppo.social "sh seppo.social/archive/accept.sh ~/seppo.social/tmp/$(basename "$1")"