Spaces:
Running
Running
| # 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/" | |