Comments (7)
I imagine it might not be very hard to do that in principle. We actually used librsync (https://github.com/librsync/librsync) in the first incarnation of this tool, and switched to CDC later. This switch only took a few days. That being said, rsync has a much longer history and more baggage to carry. Some flags might not make sense for CDC, some behavior might change, so I could imagine the main amount of work would go into making the transition smooth. Maybe ask this question again on the librsync repo.
from cdc-file-transfer.
from cdc-file-transfer.
Right now, it's not, but it wouldn't be hard to do, at least for cdc_rsync.
The code is largely cross-platform, except for a few things that are not:
- The socket classes need to work around a few platform specific issues like WSAEADDRINUSE vs EADDRINUSE.
- We're calling netstat, which has different flags for Windows and Linux.
- The file systems and permissions are different.
- We're calling binaries through ssh. On Windows, that runs in Powershell, on Linux it uses bash by default (at least on our systems). Escaping is also different.
Overall, it shouldn't be a lot of work. Note that rsync on Linux provides a large number of flags that cdc_rsync doesn't support (yet) to fine tune how things work. cdc_rsync is really geared towards the use case of deploying a game.
We're currently adding support for Windows to Windows cdc_rsync (including local syncs, i.e. not over network), see
main...sync_windows
For cdc_stream, it could be a bit more work to get the FUSE running on Windows. However, there are tools that provide a FUSE wrapper, like Dokan (https://dokan-dev.github.io/).
from cdc-file-transfer.
Linux support would be lovely, specially for the cdc_rsync as a faster alternative to traditional rsync...
from cdc-file-transfer.
It seems like it just uses the SSH protocol, so it should work fine?
from cdc-file-transfer.
Do you have any sense of how hard it would be to integrate CDC into rsync itself?
from cdc-file-transfer.
I'm trying to bulld linux version fo cdc_rsync;
It chokes on file_watcher_win module...
Anybody hav adaptation of this module to Linux?
from cdc-file-transfer.
Related Issues (20)
- hetzner clound cdc_rsync HOT 3
- EOF detected; Failed to receive packet of size 4
- Teste
- version `GLIBC_2.34' not found
- Clean up mentiones of gamelet and related
- Readme in release zip files is missing png files
- Deploy cdc_rsync_server based upon target system cpu architecture HOT 2
- Can cdc_rsync be used as a local Windows rsync tool? HOT 10
- [Feature Request] Support for MacOS HOT 1
- netstat is discouraged in modern Linux; try ss first in Linux HOT 10
- Document how cdc-file-transfer is installed
- Do port detection in cdc_rsync_server and cdc_fuse_fs instead of running netstat/ss
- Get rid of shell scripting in ssh commands
- Docs should mention the need to install vc_redist
- fastcdc implementation sets chunk boundaries before last gear-hashed byte. HOT 4
- Remove git submodules HOT 3
- Patching of file isn't working HOT 3
- [cdc_rsync] Fails to overwrite directory with a file
- problem with comping in SLES 12sp5 gcc7 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdc-file-transfer.