Writing a service to keep two folder in sync? [closed]

雨燕双飞 提交于 2020-01-11 05:59:05

问题


I need to keep synchronized two folder on different host in Windows. I really think that something already done exists but I did not find anything (SyncToys is not an option), do you have something to suggest me?

Requirements are:

  • running as a service
  • sync over a network shared path (ie \\myhost\myfolder)

回答1:


I would say use rsync with task scheduler to accomplish what you're wanting.

There are several ports of rsync to windows, you might check out the following:

  • DeltaCopy
  • cwrsync



回答2:


After a long search, I found SuperFlexible. Maybe that's the answer - and it doesn't cost much.




回答3:


Real Time Folder Synchronization Window Service

http://www.codeproject.com/Articles/35632/Real-Time-Folder-Synchronization-Window-Service

Code source http://www.codeproject.com/KB/files/FileSync/FileSyncService_source.zip




回答4:


Free, Open-Source, Cross-Platform, Web-Based GUI, P2P+UPNP discovery: https://en.wikipedia.org/wiki/Syncthing

Can run as a Windows service using the Free & Open-Source tool NSSM: http://nssm.cc/download

Here's how: https://docs.syncthing.net/users/autostart.html



来源:https://stackoverflow.com/questions/4813884/writing-a-service-to-keep-two-folder-in-sync

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!