This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

rsync from cygwin to linux adds characters in ascii files


hi
When i rsync a folder from cygwin (winXP-SP3-32bit) to linux (64bit)
some of the contents (e.g. in php files) are modified (e.g. added
spaces, missing semicolon).

My local partition D:/ is (probably) mounted as binary.

D:\www\public>mount
D:/programs/usr/bin on /usr/bin type ntfs (binary,auto)
D:/programs/usr/lib on /usr/lib type ntfs (binary,auto)
D:/programs/usr on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
D: on /cygdrive/d type ntfs (binary,posix=0,user,noumount,auto)
E: on /cygdrive/e type ntfs (binary,posix=0,user,noumount,auto)
F: on /cygdrive/f type iso9660 (binary,posix=0,user,noumount,auto)

When I copy files with TAR, the files are identical to their source (of course).

Is there way to restrict RSYNC to run on binary mode?

thanks!

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]