Unable to use rsync between Cygwin <-> Mac OS X 10.4 with files and folders with accent in their name

Bertrand Locquet bertrand.locquet at free.fr
Sat Sep 10 22:03:35 GMT 2005


I try to synchronize from a Windows 2003 machine, using Cygwin and rsync
2.6.6 files and folder with ACCENT in their name to a Mac OS X 10.4 machine
running rsync 2.6.3 as a daemon. 3 different problems happen :

 

 

***1. For a single file to an empty destination:

 

$ rsync -vP combin\351s_froid.pdf mac-mini::tests combin\351s_froid.pdf

      953977 100%  154.95kB/s    0:00:05  (1, 100.0% of 1)

rsync: mkstemp "/.combinés_froid.pdf.5accjU" (in tests) failed: Invalid
argument (22)

 

sent 954182 bytes  received 32 bytes  146802.15 bytes/sec total size is
953977  speedup is 1.00 rsync error: some files could not be transferred
(code 23) at /home/lapo/packaging/tmp/rsync-2.6.6/main.c(791)

 

REMARK that happen only if the path on the mac on which point tests is
empty, otherwise you have the second problem. To reproduce it I've just
enter the command `touch toto` in "tests" folder on the mac.

 

 

 

***2. For a single file to a non-empty destination:

 

$ rsync -vP combin\351s_froid.pdf mac-mini::tests

 

sent 45 bytes  received 12 bytes  114.00 bytes/sec total size is 953977
speedup is 16736.44

 

and nothing is written on destination. If I empty the destination folder and
launch again the same command. I return to problem 1

 

 

 

 

***3. For a folder

 

$ rsync -vrP Le\ Petit\ \351lectrom\351nager mac-mini::tests building file
list ...

2 files to consider

rsync: recv_generator: mkdir "/Le Petit électroménager" (in tests) failed:

Invalid argument (22)

rsync: stat "/Le Petit électroménager" (in tests) failed: Invalid argument
(22)

rsync: recv_generator: mkdir "/Le Petit électroménager" (in tests) failed:

Invalid argument (22)

rsync: stat "/Le Petit électroménager" (in tests) failed: Invalid argument
(22)

 

sent 84 bytes  received 12 bytes  64.00 bytes/sec total size is 953977
speedup is 9937.26 rsync error: some files could not be transferred (code
23) at

/home/lapo/packaging/tmp/rsync-2.6.6/main.c(791)

 

Do not hesitate to contact me for further information. I did my best to make
it as clear as possible, but it's my first bug report.

 

Regards,

 

Bertrand L

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list