delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/19/17:55:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: asaf greenberg <asafgreenberg AT gmail DOT com>
Subject: Re: rsync from cygwin to linux adds characters in ascii files
Date: Thu, 19 May 2011 21:14:10 +0000 (UTC)
Lines: 36
Message-ID: <loom.20110519T231104-591@post.gmane.org>
References: <4DD530D9 DOT 3020202 AT gmail DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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


additional note: my rsync version is
rsync  version 3.0.7  protocol version 30
local filesystem: ntfs
remote system: Linux heze 2.6.32.8-grsec-2.1.14-modsign-xeon-64 #2 SMP x86_64
GNU/Linux
remote mount type: /dev/sdb1 on /home type ext3
(rw,nosuid,nodev,noatime,nodiratime,errors=remount-ro,data=writeback)


thanks again

asaf greenberg <asafgreenberg <at> gmail.com> writes:



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019