fix rsync example, only support rsync with ssh

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2009-05-05 17:57:14 +00:00
parent de0272c3c3
commit 287d6569af

View File

@ -319,12 +319,12 @@ B<xdcp> I<NodeGroup1 -f 12 -RP /var/log/testlogdir /var/log>
=item *
To copy /localnode/smallfile and /tmp/bigfile to /tmp on node1
using rsync, enter:
using rsync (ssh), enter:
I<RSYNC_RSH=/usr/bin/ssh; xdcp -r /usr/bin/rsync -o "-z" \
I<xdcp -r /usr/bin/rsync -o "-z" \
node1 /localnode/smallfile /tmp/bigfile /tmp>
This command uses rsync with the RSYNC_RSH environment variable
This command uses rsync with the ssh remote command
and the -z flag on rsync.