Fix rsync flag for macOS compatibility
This commit is contained in:
@@ -83,7 +83,7 @@ for entry in "${MOUNT_PATTERNS[@]}"; do
|
||||
|
||||
# Sync with rsync (fall back to scp if rsync unavailable)
|
||||
if command -v rsync &>/dev/null; then
|
||||
rsync -az --info=progress2 "${local_path}/" "${SSH_HOST}:${remote_path}/"
|
||||
rsync -az --progress "${local_path}/" "${SSH_HOST}:${remote_path}/"
|
||||
else
|
||||
scp -r "${local_path}/." "${SSH_HOST}:${remote_path}/"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user