Displaying 1 result from an estimated 1 matches for "start_rsync_reply".
2003 Mar 08
1
[patch] rsync over existing I/O connections (new feature)
...g stdin/stdout)
- fork/exec: rsync --partial --quiet --fd-in 0 --fd-out 1 :. myfile
- return to blocking I/O for stdin/stdout using fcntl (rsync uses non-blocking)
- continue on with my protocol
And on the server, I do the following:
- receive START_RSYNC request from client (my protocol)
- send START_RSYNC_REPLY from client (my protocol)
- fork/exec: rsync -p --server --sender --quiet . /path/to/file/on/server
- return to blocking I/O for stdin/stdout using fcntl (rsync uses non-blocking)
- continue on with my protocol
I find this extremely useful. Hopefully it's useful enough to others to get
added...