https://bugzilla.samba.org/show_bug.cgi?id=12781 Bug ID: 12781 Summary: rsync library Product: rsync Version: 3.1.3 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 Component: core Assignee: wayned at samba.org Reporter: ildar at altlinux.ru QA Contact: rsync-qa at samba.org I suggest the feature was requested for tens of times before me. But I couldn't find it in the Bugzilla. RSync as the protocol may be useful to many other applications. There even is a librsync (https://github.com/librsync/librsync) which is used by a few applications, yet that librsync is incompatible with this rsync Do you think it's possible to create an API and extract the library out of the rsync code? -- You are receiving this mail because: You are the QA Contact for the bug.
https://bugzilla.samba.org/show_bug.cgi?id=12781 --- Comment #1 from Axel Kittenberger <axkibe at gmail.com> --- I asked exactly this 10 years ago to the mailing list. The answer was no. This is not a simple to do. You could do it, I decided that kind of project would move me too far away from what I actually wanted to achieve. I went instead for calling rsync from a daemon and handing data via pipes. ( https://github.com/axkibe/lsyncd ). You just need some process management. -- You are receiving this mail because: You are the QA Contact for the bug.
Maybe Matching Threads
- How to sync an exact list of files, Including deletes!?
- Alternatives to programmatically calling the rsync binary a lot
- [Bug 12569] New: Missing directory errors not ignored
- Huge directory tree: Get files to sync via tools like sysdig
- Huge directory tree: Get files to sync via tools like sysdig