Rsh only sets up a limited path for you. Do the command:

rsh remote_host echo \$PATH 
(or ssh remote_host echo \$PATH)

and this will tell you what your remote PATH is. Perhaps install rsync into
one of these directories or use sym links. If you are using ssh have a look
at the man page about changing the path. 

Personally I solved this by creating a script in a dir on my local path, say
/usr/local/bin, called rsync that has a line in it similar to the one below:

/opt/rsync/bin/rsync --rsync-path=/opt/rsync/bin/rsync $*

Mark

-----Original Message-----
From: David Salisbury [mailto:[EMAIL PROTECTED]]
Sent: Friday, 18 May 2001 11:09
To: [EMAIL PROTECTED]; Bob Foster
Subject: Re: rsync fails


I just got done dealing with this problem.
It was solved for me using the 

--rsync-path=/usr/local/bin/rsync 

flag, specifying the remote location of rsync.
It be great if someone knew how to avoid using
this parameter.

cheers,
Dave

____________________________________________________________________
CAUTION - This message may contain privileged and confidential 
information intended only for the use of the addressee named above.
If you are not the intended recipient of this message you are hereby 
notified that any use, dissemination, distribution or reproduction 
of this message is prohibited. If you have received this message in 
error please notify Air New Zealand immediately. Any views expressed 
in this message are those of the individual sender and may not 
necessarily reflect the views of Air New Zealand.
_____________________________________________________________________
For more information on the Air New Zealand Group, visit us online
at http://www.airnewzealand.com or http://www.ansett.com.au
_____________________________________________________________________

Reply via email to