https://bugzilla.samba.org/show_bug.cgi?id=5554

Summary: File has vanished for files with foreign/unicode
characters
Product: rsync
Version: 2.6.9
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: andrew@bramp.freeserve.co.uk
QAContact: rsync-qa@samba.org


I am using rsync inside cygwin to transfer files from my old PC to my new PC. I
have mapped the old PC's shares to drive letters, and then within cygwin I am
running the following command:

rsync -av /cygdrive/z/ /cygdrive/e/

Where z is the mapped drive, and e is the local drive where I'm copying the
files to.

Now I've copied ~500GB of files with this command without a problem, however a
few files refuse to be transfer always failing with the error: "file has
vanished".

The remote drive is not being altered, and both computers have synced clocks.
One thing I notice is that the file names always have foreign/Unicode
characters in them. The output I receive in the cygwin console is this:

file has vanished: "/cygdrive/z/mp3/A/Apocalyptica/Reflections/06 - Cohkka.mp3"
file has vanished: "/cygdrive/z/mp3/D/Dir en grey/six Ugly/06 - Byo??Shin
[second[]deep].mp3"
file has vanished:
"/cygdrive/z/mp3/F/FinnTroll/Nattfodd/Finntroll_-_Nattf?dd-ba
ck.jpg"
file has vanished:
"/cygdrive/z/mp3/F/FinnTroll/Nattfodd/Finntroll_-_Nattf?dd-fr
ont.jpg"

However the actual file names are displayed differently in explorer to the
rsync print outs:
"Z:\mp3\A\Apocalyptica\Reflections\06 - Čohkka.mp3" (mark above the C)
"Z:\mp3\D\Dir en grey\six Ugly\06 - Byo「」Shin [second[]deep].mp3" (funny
symbols between the "Byo" and "Shin"
"Z:\mp3\F\FinnTroll\Nattfodd\Finntroll_-_Nattfцdd-back.jpg" (Square looking u
in Nattfudd)
"Z:\mp3\F\FinnTroll\Nattfodd\Finntroll_-_Nattfцdd-front.jpg"

Some foreign characters do work, for example in the same
Apocalyptica\Reflections directory there is "10 - Cortége.mp3" (accent on the
e)

I'm unsure if this is a Rsync bug, or a cygwin bug. Both file systems are NTFS,
and both machines are running Windows XP. The Cygwin was freshly installed
yesterday with nothing altered except to add rsync.

I hope this is a real bug that can easily be fixed. Until then I can easily
copy the few files which rsync fails at.

thanks
Andrew


--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html