Rsync with spaces in source or destination path

Matthias Schniedermeyer ms at citd.de
Sat Jul 4 21:22:24 GMT 2009


On 05.07.2009 02:29, paresh masani wrote:
> Hi, I am trying to transfer a file that has spaces in its name. The rsync
> gives me below error. Am I doing anything wrong?

What you are looking for is "-s" a.k.a. "--protect-args'

- man rsync -
        -s, --protect-args          no space-splitting; wildcard chars only
- snip -




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.



More information about the rsync mailing list