rsyncで名前に漢字を含むファイルの同期に失敗する
c:\Documents
の中に、漢字で書いてあるファイルネームがあります。下のスクリプトを実行すると
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:\
に該当のファイルがコピーされない。エラーメッセージは
2018/03/21 22:04:28 [11148] file has vanished: "/cygdrive/c/Documents/2017.5.12 ????_170515_0001.jpg"
2018/03/21 22:04:28 [11148] file has vanished: "/cygdrive/c/Documents/2017.5.12 ????_170515_0002.jpg"
2018/03/21 22:04:28 [11148] file has vanished: "/cygdrive/c/Documents/2017.5.12 ????_170515_0003.jpg"
2018/03/21 22:04:28 [11148] file has vanished: "/cygdrive/c/Documents/2017.5.12 ????_170515_0004.jpg"
2018/03/21 22:04:28 [11148] file has vanished: "/cygdrive/c/Documents/2017.5.12 ????_170515_0005.jpg"
2018/03/21 22:04:28 [11148] file has vanished: "/cygdrive/c/Documents/2017.5.12 ????_170515_0006.jpg"
どうすればいいでしょうか。