Rsync with special characters
wayned at samba.org
Mon Nov 14 14:06:16 MST 2011
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).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rsync