GNU bug report logs -
#15315
How to remove date in a gz file?
Previous Next
Reported by: Peng Yu <pengyu.ut <at> gmail.com>
Date: Mon, 9 Sep 2013 22:19:01 UTC
Severity: normal
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
~/linux/test/gnu/gzip/gzip$ file test1.txt.gz
test1.txt.gz: gzip compressed data, was "test1.txt", from Unix, last
modified: Tue Apr 30 08:16:41 2013
.gz files have the date information if it is not created with the
option '-n'. I'm wondering what is the most efficient way to remove
the date information. (One easy way is gunzip the file and then gzip
it with '-n', but when the file is large, it might take a long time.)
I'd imagine there should be a way to directly change the .gz file to
remove the date info. But I have not found a way to do. Does anybody
know a way? Thanks.
--
Regards,
Peng
This bug report was last modified 10 years and 356 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.