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 rZync code: http://opencoder.net/new-protocol.html 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. ..wayne.. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html