-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
source目录删除文件,dest目录不删除 #378
Comments
是的, |
实时模式下有个问题,服务端文件一直在生成,客户端会一直从0字节开始同步。 只想保持两个目录一摸一样要如何设置? |
如果想要忽略特定文件的同步的话,可以尝试使用 |
目前两个问题: 我的需求是希望client目录永远和server目录保持一致,不管删除还是增加。 |
第二点暂时还不支持,我看下该怎么实现。 |
服务开启data目录,客户端开启dest目录同步,服务端新增文件dest可以同步,服务端删除文件dest不会删除文件
服务端命令
gofs -source="rs://0.0.0.0:8105?mode=server&local_sync_disabled=true&path=./data&fs_server=http://192.168.110.21:18080" -server_addr=:18080 -dest=./dest -users="gofs|password|rw" -tls=false -log_file=false -token_secret=1122334455667788
客户端命令
gofs -source="rs://192.168.110.21:8105" -dest=./dest -users="gofs|password" -token_secret=117788 -tls=false -log_file=false -sync_once
The text was updated successfully, but these errors were encountered: