delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/26/09:22:40

X-Recipient: archive-cygwin AT delorie DOT 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 DOT 80107 AT alice DOT it>
Date: Mon, 26 Oct 2009 15:22:08 +0100
Reply-To: "Christian Franke" <Christian DOT Franke AT t-online DOT de>
To: "Cygwin" <cygwin AT cygwin DOT com>
Subject: Re: Time differences between USB - HD
From: "Christian Franke" <Christian DOT Franke AT t-online DOT de>
Message-ID: <1N2QSW-15nvhA0@fwd05.aul.t-online.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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

- Raw text -


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