<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 28, 2016 at 5:39 AM, Samuel Williams <span dir="ltr"><<a href="mailto:space.ship.traveller@gmail.com" target="_blank">space.ship.traveller@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Rsync passed the backslashes through without dealing with them.<br></blockquote><div><br></div><div>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.</div><div><br></div><div>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.</div></div><br></div><div class="gmail_extra">..wayne..</div></div>