summary refs log tree commit diff
path: root/bin/rsyncez
blob: c79fecd1ae93fdd9390e5e25047e697ec49d7059 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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} \
				"$@"