-e escape rule
wayned at samba.org
Sat Oct 29 02:10:40 UTC 2016
On Fri, Oct 28, 2016 at 5:39 AM, Samuel Williams <
space.ship.traveller at gmail.com> wrote:
> Rsync passed the backslashes through without dealing with them.
Yeah, it only does space-splitting and that's all it will ever do. It still
looks to me like there is a bug in the original escaping, since any command
receiving that string is receiving a backslash that is not supposed to be
there. It should only be escaping the string enough to get it to rsync, not
trying to guess what rsync is going to do with it after it gets it.
To work around that bug, you could consider using an ssh-calling shell
script instead of manually specifying the ssh command and args to rsync.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rsync