GNU bug report logs - #51921
Anything like ztail

Previous Next

Package: gzip;

Reported by: Peng Yu <pengyu.ut <at> gmail.com>

Date: Wed, 17 Nov 2021 13:09:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Stephen Kitt <steve <at> sk2.org>
To: Peng Yu <pengyu.ut <at> gmail.com>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 51921 <at> debbugs.gnu.org
Subject: bug#51921: Anything like ztail
Date: Wed, 17 Nov 2021 22:58:14 +0100
[Message part 1 (text/plain, inline)]
On Wed, 17 Nov 2021 12:33:33 -0800, Paul Eggert <eggert <at> cs.ucla.edu> wrote:
> On 11/17/21 05:08, Peng Yu wrote:
> > Is there a way to make ztail more efficient?  
> 
> Not in general, no. The compressed file can't be decompressed from 
> random locations.
> 
> There might be some options for doing what you're suggesting if 
> --rsyncable is used during compression (which it usually isn't) and if 
> someone would like to code up something for gzip (which would be 
> nontrivial).

gztool (https://github.com/circulosmeos/gztool) can be used to create
additional indexes and then use that to access a compressed file randomly
without decompressing everything; it supports tail-style operation as well.

Whether it’s actually useful will depend on the scenario.

Regards,

Stephen
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 3 years and 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.