From b61b58ce2c1371d6f904f108fa7feed3abfbe5c7 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 8 Apr 2026 13:18:14 +0900 Subject: * MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automated-commit-by: dots Signed-off-by: Robert Günzler --- bin/rsyncez | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 bin/rsyncez (limited to 'bin/rsyncez') diff --git a/bin/rsyncez b/bin/rsyncez new file mode 100755 index 0000000..0275971 --- /dev/null +++ b/bin/rsyncez @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e +[ -n "$DEBUG" ] && set -x + +[ "$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=yes -o RemoteCommand=none" \ + --archive \ + --protect-args \ + ${mac_args} \ + "$@" + +# -c chacha20-poly1305@openssh.com -- cgit 1.4.1