On Wed, Dec 22, 2010 at 1:53 AM, Tim Bruijnzeels <t...@ripe.net> wrote:
> There seems to be a problem when trying to retrieve a file that starts with > a '-' character, if it lives in the top of an rsync repository: > If the file gets requested by name on the command-line, then popt will interpret it as an option, which will cause a problem. I don't see how the daemon protocol you cited could fail, though, since it always sends the file names over the daemon protocol. For a non-daemon file request, the issue can be avoided by requesting the name with a dot-slash at the start (or using --protect-args in newer rsync versions). For instance: rsync -aiv localhost:./-fails /dest/ ..wayne..
-- 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