Communication problem with rsync-2.6.0

2004-04-05 Thread fiver
hello, I have a following problem while using rsync: rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(189) it was coused by command rsync -r source/ dest/ -e rsh I use rsync-2.6.0 with rsh. What bothers me is that

Re: Communication problem with rsync-2.6.0

2004-04-05 Thread Tim Conway
The first problem is that you're attempting to use a remote transport on a local transfer. The second problem is that you have put -e rsh after filespecs, thus having it interpreted as such. What you have asked rsync to do is to put the contents of source/, dest/, and the object -e, in to the

Re: Communication problem with rsync-2.6.0

2004-04-05 Thread Wayne Davison
On Mon, Apr 05, 2004 at 12:45:18PM -0400, Tim Conway wrote: The second problem is that you have put -e rsh after filespecs, thus having it interpreted as such. Not necessarily. Modern option parsers indulge in option reordering unless told not to (for example, by setting POSIXLY_CORRECT in the