wayned at samba.org
Tue Mar 3 15:28:36 GMT 2009
On Thu, Feb 26, 2009 at 07:55:22PM -0700, Manoj Joseph wrote:
> Is there a way of passing a list of source _and_ destination paths??
Only for a single-file transfer. So, to do this with rsync, you'd need
to transfer each file separately, possibly using the lighter daemon
protocol (which could be routed over an established ssh tunnel).
> The librsync project on sourceforge (librsync.sourceforge.net) seems to
> be unmaintained. Does anyone on this list have any experience with using
> rsync as a library?
To see an example of using librsync to build an rsync-like tool, see my
This tool supports being controlled by a series of transfer commands,
much like an sftp that can use the rsync delta-transfer protocol. The
code was never fully polished (e.g. the uid/gid code needs work), but
you might find it useful in either making something simpler, or in
testing/debugging/enhancing what is there.
More information about the rsync