File size: 631 Bytes
eb4821e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f8b0167
 
 
 
eb4821e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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/"