two bugs in rsync 3.0.6 - ampersands in filenames, double quoting required

alex conway seton.uk at gmail.com
Sat Mar 12 13:39:38 MST 2011


fuck off

On Sat, Mar 12, 2011 at 2:41 AM, <travis+ml-rsync at subspacefield.org> wrote:

> 1)
>
> deleting path/to/(Something) Word Word Anotherword--Word Word.pdf
> IO error encountered -- skipping file deletion
>
> I think either the -- is causing it to fail, or more likely, the next
> filename, which it didn't bother to print out, which has an ampersand
> in the name, causes it to fail.
>
> I am using SSH as a substrate, of course, and I think you guys failed
> to escape things, so the ampersand is hosing your protocol somehow.
>
> 2)
>
> I am also aware that when rsyncing to a foreign system, you have to
> "double escape" filenames - if the target has a space in it, you must
> use not one, but two sets of quotes.  Since you can't nest double
> quotes or single quotes, this means that you have to use both.
>
> This is fairly annoying, for a number of reasons, including the
> difficulty of doing variable substitution (single quotes prevent it,
> so you gotta bust out for the variable and then back in), and the fact
> that it's not intuitive at all.
> --
> I'm not sleeping; I'm regenerating. |
> http://www.subspacefield.org/~travis/
> My emails do not usually have attachments; it's a digital signature
> that your mail program doesn't understand.
> If you are a spammer, please email john at subspacefield.org to get
> blacklisted.
>
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20110312/f1344b63/attachment.html>


More information about the rsync mailing list