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)
|
# Sync with rsync (fall back to scp if rsync unavailable)
|
||||||
if command -v rsync &>/dev/null; then
|
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
|
else
|
||||||
scp -r "${local_path}/." "${SSH_HOST}:${remote_path}/"
|
scp -r "${local_path}/." "${SSH_HOST}:${remote_path}/"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user