Case Sensitivity

4 posts / 0 new
Last post
lantonioli
Offline
Last seen: 12 years 4 months ago
Joined: 10.03.2009 - 02:56
Case Sensitivity

I'm trying to use cwrsync to update files from 1 netware server to another. On the source server the file names are all upper case. On the destination server the file names are lower case. The command line is as follows;

rsync -ah -vv --stats --delete --modify-window=2 /cygdrive/source-network-path/ /cygdrive/dest-network-path/

It seems as though rsync removes the lower case files and replaces them with the upper case version even though the file size and modification time stamps are exactly the same. Is there a way to tell rsync to ignore case?

Thanks,

Lou

itefix
Offline
Last seen: 29 min 47 sec ago
Joined: 01.05.2008 - 21:33
There is an ignore-case patch

There is an ignore-case patch for Rsync, which is probably what you look for. However, rsync binaries distributed with cwRsync packages are not compiled with that patch.

Update: cwRsync product edition has noe that patch built-in.

lantonioli
Offline
Last seen: 12 years 4 months ago
Joined: 10.03.2009 - 02:56
Thanks for your reply. So how

Thanks for your reply. So how do I create/obtain binaries that have the ignore-case patch. I had a look at the link in your reply but it's not clear to me how to proceed. Thanks again

 

Lou

itefix
Offline
Last seen: 29 min 47 sec ago
Joined: 01.05.2008 - 21:33
You need to set up a full

You need to set up a full blown cygwin environment with development tools and libraries, apply the patch to rsync source and compile it.