Synchronization of files with Chinese characters in their names fails on rsync

Asked 2 years ago, Updated 2 years ago, 78 views

c:\Documents contains the file name written in Chinese characters.If you run the script below,

REM Set CYGWIN variable to 'nontsec'. That makes sure that permissions
REM on your windows machine are not updated as a side effect of cygwin
REM operations.
SET CYGWIN=nontsec

rsync-a --delete-v --progress"/cygdrive/c/Documents""/cygdrive/d/"--log-file="reports.log"

d:\ does not copy the affected file.The error message is

March 21, 2018 22:04:28 [11148] file has vanished: "/cygdrive/c/Documents/2017.5.12???_170515_0001.jpg"
March 21, 2018 22:04:28 [11148] file has vanished: "/cygdrive/c/Documents/2017.5.12???_170515_0002.jpg"
March 21, 2018 22:04:28 [11148] file has vanished: "/cygdrive/c/Documents/2017.5.12???_170515_0003.jpg"
March 21, 2018 22:04:28 [11148] file has vanished: "/cygdrive/c/Documents/2017.5.12???_170515_0004.jpg"
March 21, 2018 22:04:28 [11148] file has vanished: "/cygdrive/c/Documents/2017.5.12???_170515_0005.jpg"
March 21, 2018 22:04:28 [11148] file has vanished: "/cygdrive/c/Documents/2017.5.12???_170515_0006.jpg"

What should I do?

Enter a description of the image here

cygwin rsync

2022-09-30 21:30

1 Answers

Using cwRsync 5.5.0 instead of cwRsync 3.1.0, the problem disappeared.


2022-09-30 21:30

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.