Rsyncing Windows directory to a Linux box: problem with spaces in directory names

Charles Nadeau charlesnadeau at hotmail.com
Wed Dec 17 01:47:22 EST 2003


Mike wrote:

> Charles Nadeau wrote:
>> Hello,
>> 
>> I am trying to rsync folders/files hosted on a Windows machine to a
>> Linux machine. Many of the directory names have spaces in them.
>> How can I list them in a file so that the --include-from option use
>> them correctly?
>> Thanks!
>> 
>> Charles
> 
> try\ escaping\ the\ spaces\ like\ this

Mike,

I tried and I got:

building file list ... link_stat /diskbox/Anciens\ : No such file or
directory
link_stat projets : No such file or directory
done
IO error encountered - skipping file deletion
./

> "or perhaps quoting"

I tried and I got:

building file list ... link_stat "/diskbox/Anciens : No such file or
directory
link_stat projets" : No such file or directory
done
IO error encountered - skipping file deletion
./

I tried with both and got:

building file list ... link_stat "/diskbox/Anciens\ : No such file or
directory
link_stat projets" : No such file or directory
done
IO error encountered - skipping file deletion
./

Thanks for your advise!

> 
> Mike
> 
> 

-- 
Charles-E. Nadeau Ph.D
http://radio.weblogs.com/0111823/




More information about the rsync mailing list