From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 09 18:18:21 2013 Received: (at submit) by debbugs.gnu.org; 9 Sep 2013 22:18:21 +0000 Received: from localhost ([127.0.0.1]:51032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJ9mm-0001BU-Ge for submit@debbugs.gnu.org; Mon, 09 Sep 2013 18:18:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36600) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJ9ml-0001BG-2Q for submit@debbugs.gnu.org; Mon, 09 Sep 2013 18:18:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJ9mf-0006Yp-1d for submit@debbugs.gnu.org; Mon, 09 Sep 2013 18:18:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJ9me-0006Yl-V2 for submit@debbugs.gnu.org; Mon, 09 Sep 2013 18:18:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJ9md-0000ku-Nv for bug-gzip@gnu.org; Mon, 09 Sep 2013 18:18:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJ9mc-0006YQ-TQ for bug-gzip@gnu.org; Mon, 09 Sep 2013 18:18:11 -0400 Received: from mail-qe0-x22f.google.com ([2607:f8b0:400d:c02::22f]:45379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJ9mc-0006YJ-PX for bug-gzip@gnu.org; Mon, 09 Sep 2013 18:18:10 -0400 Received: by mail-qe0-f47.google.com with SMTP id b4so3687074qen.34 for ; Mon, 09 Sep 2013 15:18:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=WvE6FobrTexmfYQ3D3qSJPrWYG1cuwqjtnEdes4g2s4=; b=A3vByI8G2DeFbfaNIqjptBrYKlSGZxK2zCHT3H04E9hu+J6TVBDOlryLY4GAw0glZj xxxr/Q/ougxS+dhLXTFBATcvbypACNTmgEpqCABDHRcI5E46fL9eLrvzFUO5Rs18z5Rm bI83KgfHrEw+N6+t48j7rqXur9w7rkll4VPJ1Ww7x1+pswnDbTvKwbunL6+0t4d86/60 lyR370NrZembbSnWyNbKn6wwC0psz+99+5cUuCVo/tBnoaiQM7bY+fiGrmb5eMNAyw2x NmlpkCgzjP2Fym+TxsgB86a2/HflWC81zL8s5OyhY8SaUXFwQnxfKzrqHi4fqrWz36Q6 35Kw== MIME-Version: 1.0 X-Received: by 10.49.18.195 with SMTP id y3mr26919521qed.39.1378765090443; Mon, 09 Sep 2013 15:18:10 -0700 (PDT) Received: by 10.49.41.8 with HTTP; Mon, 9 Sep 2013 15:18:10 -0700 (PDT) Date: Mon, 9 Sep 2013 17:18:10 -0500 Message-ID: Subject: How to remove date in a gz file? From: Peng Yu To: bug-gzip@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 10 11:44:53 2013 Received: (at 15315) by debbugs.gnu.org; 10 Sep 2013 15:44:53 +0000 Received: from localhost ([127.0.0.1]:52769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJQ7X-0004CX-Gs for submit@debbugs.gnu.org; Tue, 10 Sep 2013 11:44:52 -0400 Received: from styx.codemill.se ([77.110.18.66]:52733 helo=mail.lonneborg.se) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJIwV-0008BS-29 for 15315@debbugs.gnu.org; Tue, 10 Sep 2013 04:05:00 -0400 Received: from [10.12.10.179] (unknown [10.12.10.179]) by mail.lonneborg.se (Postfix) with ESMTPSA id 2C2EA68FD4; Tue, 10 Sep 2013 08:04:57 +0000 (UTC) Message-ID: <1378800290.3330.3.camel@Aspire-5820TG> Subject: Re: bug#15315: How to remove date in a gz file? From: Tomas =?ISO-8859-1?Q?H=E4rdin?= To: Peng Yu Date: Tue, 10 Sep 2013 10:04:50 +0200 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-kgvCanYTnkHhrpAJk39R" X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Spam-Score: -0.9 (/) X-Debbugs-Envelope-To: 15315 X-Mailman-Approved-At: Tue, 10 Sep 2013 11:44:49 -0400 Cc: 15315@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-kgvCanYTnkHhrpAJk39R Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2013-09-09 at 17:18 -0500, Peng Yu wrote: > Hi, >=20 > ~/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 >=20 > .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. Judging by [1] and vbindiff:ing two files with and without -n, zeroing bytes 4..7 should be enough (assuming the file only has one member). /Tomas [1] http://www.gzip.org/zlib/rfc-gzip.html --=-kgvCanYTnkHhrpAJk39R Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJSLtKiAAoJEKAeiuBBuyVRWbEP/2/ix6oP07KR9aT20OPrI4yc GRiiDSvcD9EvygXDWqhLdnwHfjYN2S42jO5Wa2pTql6Iq1eSBX5dwa8J7OhhYPdK 9mI1oMrYK5JFOReVW0wTXYjkoQxYf5E195RB95bfI+VTfZTFX332jEFc5bOsopm9 olpS4plfSm9DiDIf8ixu4pqgtdkCOqG739nYM0avWLM0Yr9CW0YU1b8l2LR0x1A/ gNcFh/aFMYs8uoQEGPa/DtwEebHVU+8M9ZsYK6I3dftLnkON1/74BqZ2ZSyWVoZT bMNc76rl4cVYtytfJh9swmnoDaSjXFuMLGPkp36WO4Rip0mXWBG3ruaZISaIf5XQ +5nRhmpulG4NCAf+1IMfAmlRnCAiljka1deq1NTibfmBNXLXECKbBkhDrZftXsRp eA8h7wGFV3J69IiyfYhpRIsTNreKYNlKcUIoj6gZkKzNE88vh0W5HYnlcy66z0lC qxAj4+RQvLSLqm/9ZqYPXZcTMBY5HNB+M6KFiSiy4taUuJ8yMGJO8EyWqF3ggyDb nCC+K+GoXZsxp5Mf/yuOR6LrUNc4xfMMs8hxltjqxQDmWMxFbkUclaeph5Nwsil+ 8XoAN1AYY6xslgAuToc0JkjwieZMIMwCom8/9mvLqtkkVlj3OlNXHvxYaBA9QbnQ NzxHD3Zar89sblMvjibO =+Sx7 -----END PGP SIGNATURE----- --=-kgvCanYTnkHhrpAJk39R-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 07 18:21:31 2014 Received: (at control) by debbugs.gnu.org; 7 Jun 2014 22:21:31 +0000 Received: from localhost ([127.0.0.1]:40809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WtOzS-0003uj-Lq for submit@debbugs.gnu.org; Sat, 07 Jun 2014 18:21:30 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:45613) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WtOzQ-0003uT-Dl for control@debbugs.gnu.org; Sat, 07 Jun 2014 18:21:29 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id A3353A60005 for ; Sat, 7 Jun 2014 15:21:22 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YxQobHlPlDxY for ; Sat, 7 Jun 2014 15:21:14 -0700 (PDT) Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 2D4EA39E8013 for ; Sat, 7 Jun 2014 15:21:14 -0700 (PDT) Message-ID: <53939059.1000700@cs.ucla.edu> Date: Sat, 07 Jun 2014 15:21:13 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: close more gzip bugs Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) close 15672 close 15315 thanks These have been fixed or answered. From unknown Tue Jun 24 20:52:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 06 Jul 2014 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator