Compare commits
3 Commits
7e9e9e59e9
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 4fe14369c4 | |||
| 90abd820b4 | |||
| fcd92051fa |
@@ -1,4 +1,4 @@
|
|||||||
http://yangxuan:***@192.168.3.5%3a3000
|
http://be00af92b4fc91fd6fecbe95751702a51021981a:@192.168.3.5%3a3000
|
||||||
|
http://be00af92b4fc91fd6fecbe95751702a51021981a@192.168.3.5%3a3000
|
||||||
http://yangxuan:***@localhost%3a3000
|
http://yangxuan:***@localhost%3a3000
|
||||||
https://xuan-java:3gynj20J@gitee.com
|
https://xuan-java:***@gitee.com
|
||||||
http://be00af92b4fc91fd6fecbe95751702a51021981a@localhost:3000
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"operator.read",
|
"operator.read",
|
||||||
"operator.write"
|
"operator.write"
|
||||||
],
|
],
|
||||||
"updatedAtMs": 1784018876933
|
"updatedAtMs": 1784020866140
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Executable
+39
@@ -0,0 +1,39 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# 同步本机 .openclaw/ 到 3.14 主机
|
||||||
|
# 仅同步"源码"级配置,运行时数据各自保留
|
||||||
|
set -e
|
||||||
|
|
||||||
|
SRC="/home/yangxuan/.openclaw/"
|
||||||
|
DST="yangxuan@192.168.3.14:/home/yangxuan/.openclaw/"
|
||||||
|
|
||||||
|
echo "=== 同步 .openclaw/ 配置到 3.14 ==="
|
||||||
|
|
||||||
|
rsync -avz --delete \
|
||||||
|
--exclude='.git/' \
|
||||||
|
--exclude='sessions/' \
|
||||||
|
--exclude='logs/' \
|
||||||
|
--exclude='cache/' \
|
||||||
|
--exclude='*.bak*' \
|
||||||
|
--exclude='state/' \
|
||||||
|
--exclude='memory/' \
|
||||||
|
--exclude='media/' \
|
||||||
|
--exclude='sandboxes/' \
|
||||||
|
--exclude='sandbox/' \
|
||||||
|
--exclude='openclaw-weixin/' \
|
||||||
|
--exclude='credentials/' \
|
||||||
|
--exclude='cron/runs/' \
|
||||||
|
--exclude='devices/' \
|
||||||
|
--exclude='subagents/' \
|
||||||
|
--exclude='extensions/' \
|
||||||
|
--exclude='delivery-queue/' \
|
||||||
|
--exclude='archived/' \
|
||||||
|
--exclude='agents-archived/' \
|
||||||
|
"$SRC" "$DST"
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "=== 同步完成 ==="
|
||||||
|
echo "已排除(运行时数据,各自保留):"
|
||||||
|
echo " sessions/ state/ memory/ media/ logs/
|
||||||
|
cache/ sandboxes/ sandbox/ credentials/ devices/
|
||||||
|
openclaw-weixin/ cron/runs/ subagents/
|
||||||
|
extensions/ delivery-queue/ archived/ agents-archived/"
|
||||||
Reference in New Issue
Block a user