From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23378 invoked by alias); 19 May 2011 13:57:29 -0000 Received: (qmail 23366 invoked by uid 22791); 19 May 2011 13:57:28 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-wy0-f171.google.com (HELO mail-wy0-f171.google.com) (74.125.82.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 May 2011 13:57:15 +0000 Received: by wyb32 with SMTP id 32so2597174wyb.2 for ; Thu, 19 May 2011 06:57:13 -0700 (PDT) Received: by 10.227.181.133 with SMTP id by5mr3312126wbb.9.1305813433606; Thu, 19 May 2011 06:57:13 -0700 (PDT) Received: from [192.168.123.175] (46-116-179-170.bb.netvision.net.il [46.116.179.170]) by mx.google.com with ESMTPS id k12sm1368341wby.16.2011.05.19.06.57.12 (version=SSLv3 cipher=OTHER); Thu, 19 May 2011 06:57:12 -0700 (PDT) Message-ID: <4DD530D9.3020202@gmail.com> Date: Thu, 19 May 2011 13:57:00 -0000 From: asaf greenberg User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: rsync from cygwin to linux adds characters in ascii files Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00271.txt.bz2 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