X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 	tests=AWL,BAYES_20
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4AE590E1.80107@alice.it>
References: <4AE590E1.80107@alice.it>
Date: Mon, 26 Oct 2009 15:22:08 +0100
Reply-To: "Christian Franke" <Christian.Franke@t-online.de>
To: "Cygwin" <cygwin@cygwin.com>
Subject: Re: Time differences between USB - HD
From: "Christian Franke" <Christian.Franke@t-online.de>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Message-ID: <1N2QSW-15nvhA0@fwd05.aul.t-online.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Angelo Graziosi wrote:
> 
> Oh yes, the stick is FAT32! Thanks for clarification.
> 
> Any tricks to avoid that?
> 

The native(!) Win32 version of Info-Zip and UnZip
(http://www.info-zip.org/) compensate the time difference if a FAT is
detected. To preserve time stamps, use zip+unzip instead of copy to
transfer files between NTFS and FAT.

Note that this does not work with most other zip-tools (including Cygwin
version of zip/unzip, 7-Zip, Windows build-in zip, ...). Using Win32
Info-Zip with another unzip and vice versa may be counter-productive ...

Christian

PS: Hmm... would it be a useful Cygwin feature to (optionally)
compensate the time difference for files on a FAT?




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

