reachy_bloch / scripts /sync.sh
d10g's picture
Harden IBM key field vs autofill; add guided-mode narration clips; drop pyc
f8b0167 verified
Raw
History Blame Contribute Delete
631 Bytes
#!/usr/bin/env bash
# Sync the Mac (source of truth) to the Reachy Mini. Mac → Reachy, one way.
set -euo pipefail
REMOTE="${REACHY_HOST:-pollen@reachy-mini.local}"
REMOTE_PATH="${REACHY_PATH:-/home/pollen/projects/reachy_bloch}"
LOCAL_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)/"
rsync -avz --delete \
--exclude '__pycache__' \
--exclude '.venv' \
--exclude '.venv-sim' \
--exclude '.git' \
--exclude '.DS_Store' \
--exclude '*.egg-info' \
--exclude '.claude' \
--exclude 'IDEAS.md' \
--exclude 'build' \
--exclude '.pytest_cache' \
"$LOCAL_PATH" "$REMOTE:$REMOTE_PATH/"