On Wed, Nov 9, 2011 at 7:02 AM, Philip Kimg?rd <kimme_911 at
hotmail.com>wrote:
> "rsync -avz -e 'ssh -p *special**port*'
*user*@*windowsmachine*:/cygdrive/c/?test
> --iconv=CP1252,utf-8 *(Also tride ISO8859-1 and utf-8)*"
>
Checkout the manpage on --protect-args:
If you use this option with --iconv, the args related to the remote side
will also be translated from the local to the remote character-set. The
translation happens before wild-cards are expanded.
Without that, rsync (really ssh) just sends the bytes you specify exactly
as you specify them, so you need to specify the right ones for the remote
side or use one or more wild-cards (e.g. "??" would match a two-byte
special character in many shells).
..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.samba.org/pipermail/rsync/attachments/20111114/bc84a865/attachment.html>