Mail Archives: djgpp/1999/11/17/18:32:32
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 -