|
From: | Antonio Diaz Diaz |
Subject: | Re: [Lzip-bug] lzip --list |
Date: | Mon, 07 Nov 2016 19:45:39 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 |
Tino Lange wrote:
I didn't know about the "lziprecover --list". I thought this is only for repairing corrupted archives and didn't check all options documented in the manpage in detail.
Funnily enough, lziprecover is the most capable decompressor for the lzip format. It is currently the only one featuring random access to the data in multimember files:
http://www.nongnu.org/lzip/manual/lziprecover_manual.html#Invoking-lziprecover -D range --range-decompress=rangeDecompress only a range of bytes starting at decompressed byte position 'begin' and up to byte position 'end - 1'. This option provides random access to the data in multimember files; it only decompresses the members containing the desired data. In order to guarantee the correctness of the data produced, all members containing any part of the desired data are decompressed and their integrity is verified.
Well, that's fine for me, I can simply use "lziprecover --list" when I need the information. No need to double that code to lzip, if it makes portability problems.
Good, thanks. For the next version I'll either implement --list in lzip or document to use lziprecover instead.
Best regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |