diff options
| -rwxr-xr-x | bin/rsyncez | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/rsyncez b/bin/rsyncez new file mode 100755 index 0000000..c79fecd --- /dev/null +++ b/bin/rsyncez @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e +[ -n "$DEBUG" ] && set -x + +[ "$1" = "-mac" ] && shift && mac_args='--rsync-path=/usr/local/bin/rsync' # force brew version +exec rsync --verbose -hhh \ + --rsh="ssh -o Compression=no" \ + --archive \ + --stats \ + --partial \ + --progress \ + --protect-args \ + ${mac_args} \ + "$@" |