There are some other issues with the Cygwin rsync. I use the Cygwin rsync all over the place so like you I eagerly await the release. Presumably they are addressing this in the new version and that's why it will support names longer than 260 characters. I don't know of any way to get the \\?\ prefix to Cygwin, and obviously the current version of Cygwin doesn't use the prefix internally. Now while you can use strategic substs to reduce the length of the filenames I don't know if this allows you to bypass the 260 character limit. This works both at the client end and at the server end. If you have a deep directory tree d:\very\long\file\n\ame\etc\etc then experiment reveals that you can subst X: to d:\very\long\file\name\etc and then rsync to and from /cygdrive/x/whatever. Some of the systems are beyond firewalls, and I believe SSH is the tunnel I will be allowed to use. I am hoping someone knows of another rsync option.Īs an alternative to rsync do you know of another tool that I can copy a directory structure on Linux from a windows host that will not have problems with long or unusually named files? The important bit is that I need a tool that can easily work across an SSH tunnel. I am not particularly comfortable using the test build on a production system. This issue is addressed on the cwrsync forums here and it supposedly it may be fixed sometime in the future whenever cygwin 1.7 comes out and UTF8 is supported. From what I have found there all of these tools refuse to copy files when the length of the file becomes long, this seems to be somewhere around 255 characters. I have tried DeltaCopy, cwrsync, and cygwin. I currently rsync on a Linux host to copy things from Windows to my Linux box. It is not currently accepting new answers or interactions. This question and its answers are locked because the question is off-topic but has historical significance.
0 Comments
Leave a Reply. |