[Bug 10963] rsync to multiple destinations

Joe josephj at main.nc.us
Tue Nov 25 17:26:31 MST 2014

How would this be different/better than
rsync options source {dest1 dest2 dest3}

? (The brackets cause bash to repeat the command line for each argument
inside the brackets.)

The only thing I can see is what Kevin pointed out about figuring out
which transfer was involved if an error condition results, but this
would probably also be the case with the requested option.

If there was some advantage to running them in parallel, throwing an
ampersand on the end of the command line would probably do it.


On 11/25/2014 06:00 PM, samba-bugs at samba.org wrote:
> https://bugzilla.samba.org/show_bug.cgi?id=10963
> --- Comment #1 from Dave Yost <Dave at Yost.com> ---
> Something like this would be useful:
>   rsync foo s1: --add-destinations s2:dir s3:dir
> or
>   rsync foo s1: --to s1: s2:dir s3:~

More information about the rsync mailing list