www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/17/18:32:32

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJTAR and date/time of extracted files
Date: 16 Nov 1999 12:16:49 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 25
Message-ID: <80rhvh$lsd$3@antares.lu.erisoft.se>
References: <80p628$2sc$1 AT nnrp1 DOT deja DOT com>
NNTP-Posting-Host: propus-144.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

cnelson AT sandia DOT gov wrote:
: While evaluating TAR utilities to read old TAR archives (created on a
: MASSCOMP UNIX system circa 1990), I noticed that the time for extracted
: files varies by exactly a few hours depending on what TAR utility was
: used.  I am guessing that this is due to some sort of time zone
: difference.  If this is so, how do I set the desired time zone (for
: example, Pacific time) for use with DJTAR.

: What time value is stored in a TAR file (local time, GMT, ...?) and how
: do I know what time is the "correct" time for these files?  To me,
: "correct" time is the local time when the file was last saved.  Looking
: back at my old .login and .cshrc files from the MASSCOMP, I don't see
: anything that looks like a time zone setting.

: Thanks in advance for any help on this matter.

I think the environment variable TZ (short for time zone) has
something to do with this. Search the docs for it.

Probably tar is using GMT but now I'm guessing.


Right,

							MartinS

- Raw text -


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