This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Time differences between USB - HD
- From: "Christian Franke" <Christian dot Franke at t-online dot de>
- To: "Cygwin" <cygwin at cygwin dot com>
- Date: Mon, 26 Oct 2009 15:22:08 +0100
- Subject: Re: Time differences between USB - HD
- References: <4AE590E1.80107@alice.it>
- Reply-to: "Christian Franke" <Christian dot Franke at t-online dot de>
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