https://bugzilla.samba.org/show_bug.cgi?id=3241

Summary: Multiple source to dest transfers in one invocation (to
same host)
Product: rsync
Version: 2.6.6
Platform: All
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: avised@kbcfp.com
QAContact: rsync-qa@samba.org


At the moment I might run two rsync commands:

% rsync file1 remotehost:/a/
% rsync file2 file3 remotehost:/b/

This means making two connections to remotehost. If I wanted to copy all the
files to the same directory on remotehost then of course I'd write a single
rsync command, and this would be faster. But if they are going to different
directories then I must invoke rsync twice, even though it's the same
destination host.

It would be nice (especially when copying to remote sites with high network
latency) to have a single rsync command do multiple copies, even if you don't
want a single destination directory on the remote host. I would suggest some
syntax like

% rsync --to remotehost:/a/ file1 --to remotehost:/b/ file2 file3

rsync would connect once to remotehost and then transfer file1, file2 and file3
to the appropriate places.

I have seen feature requests to make rsync copy the same file to several
different hosts, and I've looked at batch mode in the documentation, but I think
this feature request is different.

--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html