I was looking for a way to include a directory name with space using rsync. So I google it, found a brunch of suggestions, which turned out that NONE of them really works. As always, I ended up coming the solution on my own. Here is how I did it:
rsync -avr 'username@remotehost:/directory\ abc/' /directory\ abc/
That’s it. Enjoy!
Our sponsors: