Mail Archives: cygwin/1999/04/01/22:45:11
I reported earlier that tar would skip archiving some of the
files in my directory tree. Looking very carefully at the files
revealed that the windows nt date for the files was always
12/31/69
I don't know how the files got that date.
What is even more interesting, is some files with that date
do get put in the tar archive, and some do not.
With one exception, files with a time before 4:00p are ignored, and files
with a time after 4:00p are archived. There is one file with a time
of 3:57p that is archived, but all the rest with a time after that,
but before 4:00p are ignored.
the command I am using is 'tar -cvzf foo.tar.gz text
where text is a directory tree I have.
If I edit the 'old' files, and the date gets reset (without really changing
the contents of the files as far as I can tell) the once 'old' files get
archived. Therefore I suspect that the odd dates are confusing tar.
As I seem to recall 1969 may be the start of time as far as unix
is concerned. However I think it possible to have legimate file
dates before 1969, and I would hope that tar could handle it.
This is with windows nt 4.0 server sp 3.
thanks,
jeff deifik jdeifik AT weasel DOT com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -