public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin: 2.6.0, rsync 3.1.2, "file has vanished"
@ 2016-11-28 17:24 Shaun Maher
  2016-11-28 19:53 ` Brian Inglis
  2016-11-28 22:41 ` Wayne Davison
  0 siblings, 2 replies; 4+ messages in thread
From: Shaun Maher @ 2016-11-28 17:24 UTC (permalink / raw)
  To: cygwin

Hi.

I'm trying to use rsync on Windows Server 2012R2 to sync files to a *nix system (Ubuntu 14.04 or FreeNAS 9.10).  The file set I'm trying to sync contains files with unusual characters in the names.  Most files sync without issue but those files with unusual characters do not sync and rsync logs a message like the following:

  file has vanished: "BackUps(old)/Backup Pre-Rolled Payroll 2015"16-MBTT2016.zip" (in VSSG)
  file has vanished: "Corrupted files/Payment Summaries/Payment Summaries 2015"2016" (in VSSG)
  file has vanished: "Restore/MBTT2017"2016-07-12 MBTT2016.zip" (in VSSG)

The " character mid file name is where the unusual character is.  The character in question in all my test cases is (on Windows) a dot vertically centered.  I've only a minimal understanding of character encoding but it seems to me that it is a 0x2D followed by a 0x31 which makes it a type of dash I guess.

I've given this a good Googling but haven't been able to work it out.  I've tried every combination of --iconv and "charset = " that has been suggested.

I'm a bit stuck on how to move forward from here.  Any help or suggestions would be greatly appreciated.  I can provide an archive with some example files is it will help.

Cheers.
Shaun.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Cygwin: 2.6.0, rsync 3.1.2, "file has vanished"
@ 2016-11-29 14:25 Shaun Maher
  0 siblings, 0 replies; 4+ messages in thread
From: Shaun Maher @ 2016-11-29 14:25 UTC (permalink / raw)
  To: cygwin

Hi Wayne.

Thanks for the quick response.  I genuinely appreciate it.

>Those file-has-vanished errors shouldn't be affected by the --iconv...
This was also my understanding but I wanted to be through.

>Can you try out this C program: http://opencoder.net/list-and-stat.c
I have done this.  The result for one of the problematic files is:

    4d 42 54 54 32 30 31 37 22 32 30 31 36 2d 30 37 2d 31 32 20 4d 42 54 54 32 30 31 36 2e 7a 69 70 | MBTT2017"2016-07-12 MBTT2016.zip

So, it can see the file in the directory AND stat it?

>If it doesn't generate an error, what rsync version are you using?
I am using the rsync 3.1.2 provided by cygwin.

>The error indicates that an rsync daemon module is involved...
Wow.  OK.  When using rsync to copy locally, without daemon mode, it works.

Any other suggestions?

Cheers.
Shaun.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-29  5:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-28 17:24 Cygwin: 2.6.0, rsync 3.1.2, "file has vanished" Shaun Maher
2016-11-28 19:53 ` Brian Inglis
2016-11-28 22:41 ` Wayne Davison
2016-11-29 14:25 Shaun Maher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).