Article 4W3K6 How make rsync deal with spaces in a directory name?

How make rsync deal with spaces in a directory name?

by
Pedroski
from LinuxQuestions.org on (#4W3K6)
Thanks to help from linuxquestions, I can back up this laptop to another laptop using rsync. Works great and extremely quickly!

You probably know that old TV series 24. America is just full of bad guys, and they all want to get Jack Bauer! It's rubbish I know, but it relaxes me in the evening.

Yesterday, I wanted to copy a directory 24 Season6 from a usb to my old laptop. Thought I would use rsync, as I am very impressed with that program!

But I kept getting errors. I think it is because of the space in the directory name.

The usb is at /media/pedro/X3

I tried:

Quote:
rsync /media/pedro/X3/24 Season6 /home/pedro/24
but I kept getting a 'can't stat' error 'no such file or directory'

Is it the space causing the error?latest?d=yIl2AUoC8zA latest?i=jMphd2ZK5Do:dveM1iirXSg:F7zBnMy latest?i=jMphd2ZK5Do:dveM1iirXSg:V_sGLiP latest?d=qj6IDK7rITs latest?i=jMphd2ZK5Do:dveM1iirXSg:gIN9vFwjMphd2ZK5Do
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments