<div class="gmail_quote">On Wed, Nov 9, 2011 at 7:02 AM, Philip Kimgård <span dir="ltr"><<a href="mailto:kimme_911@hotmail.com">kimme_911@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div><div dir="ltr">"rsync -avz -e 'ssh -p <em>special</em><em>port</em>' <em>user</em>@<em>windowsmachine</em>:/cygdrive/c/Åtest --iconv=CP1252,utf-8 <em>(Also tride ISO8859-1 and utf-8)</em>"<br></div>
</div></blockquote><div><br></div><div>Checkout the manpage on --protect-args:</div><div><br class="Apple-interchange-newline">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.</div>
<div><br></div><div>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).</div>
</div><div><br></div>..wayne..<br>