summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2022-11-18 18:21:17 +0100
committerRobert Günzler <r@gnzler.io>2022-11-18 18:38:23 +0100
commitc2bba945c8124c4af3168e3f522985802ce7ce5a (patch)
treec9689aac9f9a00dd2581a3ea68599da356afc2a8 /bin
parenteffac1d13de65e5687cedb072188d01d0d388819 (diff)
bin/rsyncez: support another mac exception
Diffstat (limited to 'bin')
-rwxr-xr-xbin/rsyncez24
1 files changed, 14 insertions, 10 deletions
diff --git a/bin/rsyncez b/bin/rsyncez
index c79fecd..aa544eb 100755
--- a/bin/rsyncez
+++ b/bin/rsyncez
@@ -3,13 +3,17 @@
 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} \
-				"$@"
+[ "$1" = "-mac" ] && shift && mac_args='--rsync-path=/usr/local/bin/rsync'     # force brew version
+[ "$1" = "-mac2" ] && shift && mac_args='--rsync-path=/opt/homebrew/bin/rsync' # force brew version
+exec rsync \
+	--verbose \
+	-hhh \
+	--info=flist2,name,progress \
+	--partial \
+	--rsh="ssh -x -T -o Compression=no" \
+	--archive \
+	--protect-args \
+	${mac_args} \
+	"$@"
+
+# -c chacha20-poly1305@openssh.com