#!/usr/bin/env bash OPTIONS=" --archive --delete --numeric-ids --verbose --one-file-system --compress --progress --rsh=ssh " # removed: --update # if dates are the same but sizes differ, we always want the source's file trap 'echo "INTERRUPT" ; exit 1' SIGINT exec rsync $OPTIONS "$@"