On 29.12.2009 11:51, Geralt wrote:
> Hi,
> 
> I don't know how to exactly describe the bug, but the following
> test-case reproduces the bug in 3.0.6
> 
> mkdir rsync-test
> cd rsync-test
> mkdir -p "src/directory (name)"
> touch "src/directory (name)/somefile"
> mkdir dest
> rsync --archive --dry-run --verbose "src/directory (name)/"
> "$u...@127.0.0.1:$PWD/dest/directory (name)"
> 
> The error is:
> 
> bash: -c: line 0: syntax error near unexpected token `('
> bash: -c: line 0: `rsync --server -vnlogDtpre.iLs .
> /tmp/rsync-test/dest/directory (name)'
> rsync: connection unexpectedly closed (0 bytes received so far) [sender]
> rsync error: error in rsync protocol data stream (code 12) at
> io.c(600) [sender=3.0.6]

Try it again with "-s" a.k.a "--protect-args" added.




Bis denn

-- 
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.

-- 
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

Reply via email to