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?
cygwin rsync
Using cwRsync 5.5.0 instead of cwRsync 3.1.0, the problem disappeared.
© 2024 OneMinuteCode. All rights reserved.