If you put quotes around it you don't have to escape the spaces. You need to escape them if there were no quotes.
[cmd=]rsync [email='user@host.domain.com]'user@host.domain.com[/email]:/path with spaces/' /path/to/destination/[/cmd]
A single quote would need to be escaped, or you can use double quotes.
[cmd=]rsync [email='user@host.domain.com]'user@host.domain.com[/email]:/path with a \'/' /path/to/destination/[/cmd]
[cmd=]rsync "user@host.domain.com:/path with a '/" /path/to/destination/[/cmd]
Never mind, I figured it out. Put double quotes around it! I had already tried that, but it didn't work. But it turned out to be a typo, that caused the errors I got
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.