transferring individual files question, pull vs. push
Wayne Davison
wayned at users.sourceforge.net
Wed Mar 20 06:59:00 EST 2002
On Tue, 19 Mar 2002, Jeff Field wrote:
> rsync -e ssh source-box.xxxxx.com:/var/qmail/control/file1 \
> source-box.xxxxx.com:/var/qmail/control/file2 \
> source-box.xxxxx.com:/var/qmail/control/file3 \
> source-box.xxxxx.com:/var/qmail/control/file4 \
> /var/qmail/control
You can't have multiple remote-machine specifications, even if they
refer to the same machine. The only thing you can do is to use
wildcards that get remote-expanded (by the remote shell) or copy
entire directories. For instance:
rsync -e ssh source-box.xxxxx.com:/var/qmail/control/file\? /var/qmail/control
..wayne..
More information about the rsync
mailing list