View Single Post

  #1 (permalink)  
Old 01-12-2005
Fred Henkstrom
 
Posts: n/a
Default Filenames with spaces cause problems; can't be escaped

Trying to use rsync as follows:

rsync -v --delete -e ssh -avz tiger:/home/smith smithcopy

But as the directory tree is traversed, as soon as it hits a file or
directory which has a space in the filename, things go bad... as in:

rsync: recv_generator: mkdir "/home/smith/Fun Stuff/myfile.txt": No such
file or directory (2)
stat /home/smith/Fun Stuff/myfile.txt : No such file or directory

I can't find any way to escape the filenames when they are included
implicitly.

(This happens whether or not I'm using ssh)
Reply With Quote