lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lzip-bug] How to gather detailed information about archive?


From: Antonio Diaz Diaz
Subject: Re: [Lzip-bug] How to gather detailed information about archive?
Date: Sat, 31 Mar 2018 18:02:50 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Hello wrotycz,

wrotycz wrote:
Hello,  is there a way to get information about archive such as
dictionary size (-s), match length (-m), member size (-b), and/or
number of members used during compression?

The match length is not stored, but the other info can be retrieved with the --list option like this:

$ lzip -lvv linux-libre-3.12.5-gnu-mm.tar.lz
   dict   memb  trail    uncompressed      compressed   saved  name
32 MiB 8 0 535347200 75127916 85.97% linux-libre-3.12.5-gnu-mm.tar.lz
 member      data_pos       data_size      member_pos     member_size
    1               0        67108864               0         9210385
    2        67108864        67108864         9210385         8941707
    3       134217728        67108864        18152092         9157266
    4       201326592        67108864        27309358         9586494
    5       268435456        67108864        36895852         9133622
    6       335544320        67108864        46029474         9581035
    7       402653184        67108864        55610509        10248630
    8       469762048        65585152        65859139         9268777

-------------------------------------------------------------------------
'-l'
'--list'
     Print the uncompressed size, compressed size and percentage saved
     of the specified files. Trailing data are ignored. The values
     produced are correct even for multimember files. If more than one
     file is given, a final line containing the cumulative sizes is
     printed. With '-v', the dictionary size, the number of members in
     the file, and the amount of trailing data (if any) are also
     printed. With '-vv', the positions and sizes of each member in
     multimember files are also printed. '-lq' can be used to verify
     quickly (without decompressing) the structural integrity of the
     specified files. (Use '--test' to verify the data integrity).
     '-alq' additionally verifies that none of the specified files
     contain trailing data.


Best regards,
Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]