sync from WSL: full .openclaw directory sync

This commit is contained in:
2026-07-14 17:24:39 +08:00
parent fcd92051fa
commit 90abd820b4
62 changed files with 21251 additions and 21229 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
"operator.read",
"operator.write"
],
"updatedAtMs": 1784018876933
"updatedAtMs": 1784020866140
}
}
}
+22
View File
@@ -0,0 +1,22 @@
#!/bin/bash
# 同步本机 .openclaw/ 到 3.14 主机
# 以本机(WSL)为准,3.14 只做接收
set -e
SRC="/home/yangxuan/.openclaw/"
DST="yangxuan@192.168.3.14:/home/yangxuan/.openclaw/"
echo "=== 同步 .openclaw/ 到 3.14 ==="
# 用 rsync --delete 确保 3.14 和本机完全一致
rsync -avz --delete \
--exclude='.git/' \
--exclude='sessions/' \
--exclude='logs/' \
--exclude='sandboxes/' \
--exclude='*.bak*' \
--exclude='cache/' \
"$SRC" "$DST"
echo ""
echo "=== 同步完成 ==="