On May 16 13:30:00, falsif...@falsifian.org wrote: > On Fri, May 14, 2021 at 11:02:23AM +0200, Claudio Jeker wrote: > > On Fri, May 14, 2021 at 12:44:45AM +0300, Irshad Sulaiman wrote: > > > Hi > > > > > > I have modified error in openrsync(1) manpage in Example section isn’t > > > that ‘openrsync -t' instead of 'rsync -t ‘ > > > And without --rsync-path= it gives an following error 'openrsync: error: > > > unexpected end of file’ > > > > I did try all three examples and they do work for me without adding > > --rsync-path=. On which command did you get the unexpected result. > > Can you share the exact way to reproduce this issue? > > Did you have rsync installed on the remote machine? > > My understanding was that by default, openrsync expects "rsync" to be > installed on the destination machine. Probably "rsync" can just be a > symlink to openrsync; I'm not sure. > > It would be nice if the openrsync man page described how things are > expected to work. Something like the following (I don't know if it's > correct): > > By default, openrsync expects the command "rsync" to be available > on the remote machine. You can override it to use openrsync with > --rsync-path=/usr/bin/openrsync. It is also sufficient to make > rsync an alias for openrsync on the remote machine.
Currently, the man page says --rsync-path=program Run program on the remote host instead of the default rsync. which to me seems to say the same thing, without the verbiage and the symlinks/alias confusion.