Files
StudyDiary-20261009/10-WebClipper/syncthing本机同步_syncthing同设备内同步-CSDN博客.md
CrazyJasonwell e97be9ac8c commit all
2026-10-09 22:06:40 +08:00

15 lines
601 B
Markdown
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
1、 syncthing 实现本地两个不同的文件夹 内容同步,一个只发送,一个只接收
2、启动两个 syncthing进程,建议使用非 root 账号,root也能用
```null
./syncthing -home ~/.config/syncthing5 -gui-address 0.0.0.0:8384 ./syncthing -home ~/.config/syncthing4 -gui-address 0.0.0.0:8383
```
3、同步的文件夹可以存在,也可以不存在会自己创建
4、先添加远程设备建立 连接(设备ID)
5、发送端 建立文件夹~/syncthing4- 配置 共享-仅发送
6、接收端 收到共享请求,确定,填写接收文件夹名 ~/syncthing5