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 directory "rsh". I'm just guessing that's not what you wanted. A correct cmdline to do what it appears you want would be "rsync -r source/ dest/" . If you have removed a hostname from the source or dest path, you'd want "rsync -r -e rsh source/ desthost:dest/" or "rsync -r -e rsh sourcehost:source/ dest/" , depending on which is the remote.
If I read my country codes correctly, you're to be commended for interpreting the documentation as well as you have... I sure couldn't read Polish. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] 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 -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html