601 B
601 B
1、 syncthing 实现本地两个不同的文件夹 内容同步,一个只发送,一个只接收
2、启动两个 syncthing进程,建议使用非 root 账号,root也能用
./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