[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lzip-bug] Regarding Verbose Output for Decompression in Lzip
From: |
Antonio Diaz Diaz |
Subject: |
Re: [Lzip-bug] Regarding Verbose Output for Decompression in Lzip |
Date: |
Fri, 25 Aug 2017 17:21:06 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 |
Hi Timothy,
Timothy Beryl Grahek wrote:
When comparing verbose outputs of compressing and decompressing in Lzip,
I notice a difference in the amount of detail. Specifically,
decompression results in no estimated time output; whereas, compression
lets you know percentage wise how long it will take for compression to
finish. Is there a way to make both decompression and compression
equivalent in their output when specifying the verbose option?
Thanks. This has been recently requested[1]. I plan to start working on
it in a few days, and then implement it as soon as I can work out some
details[2]. Suggestions are welcome. :-)
[1] http://lists.nongnu.org/archive/html/lzip-bug/2017-07/msg00005.html
[2] http://lists.nongnu.org/archive/html/lzip-bug/2017-07/msg00011.html
This is particularly important when I think about the XZ format having
more verbose output than Lzip when using two v's on both programs. XZ is
heavily undesirable, of course, but I just thought I'd point that out
considering the unfortunate popularity of XZ.
I find the output of lzip much nicer (and similar to gzip/bzip2) than
that of xz, specially when decompressing multiple files. In particular I
like that lzip prints one line per file, and shows an "ok" at the end:
$ lzip -tvv *.lz
tzdb-2016g.tar.lz: 5.580:1, 1.434 bits/byte, 82.08% saved. ok
tzdb-2016h.tar.lz: 5.571:1, 1.436 bits/byte, 82.05% saved. ok
tzdb-2016i.tar.lz: 5.561:1, 1.439 bits/byte, 82.02% saved. ok
tzdb-2016j.tar.lz: 5.573:1, 1.435 bits/byte, 82.06% saved. ok
tzdb-2017a.tar.lz: 5.504:1, 1.454 bits/byte, 81.83% saved. ok
tzdb-2017b.tar.lz: 5.496:1, 1.456 bits/byte, 81.81% saved. ok
---------------------------------------------------------------------------
$ xz -tvv *.xz
libidn2-2.0.1.tar.xz (1/4)
100 % 1,133.6 KiB / 8,690.0 KiB = 0.130 0:01
par2cmdline-0.7.0.tar.xz (2/4)
100 % 2,573.0 KiB / 10.7 MiB = 0.235 0:01
file-roller-3.24.1.tar.xz (3/4)
100 % 1,394.7 KiB / 11.6 MiB = 0.117 0:01
man-db-2.7.6.1.tar.xz (4/4)
100 % 1,505.2 KiB / 12.9 MiB = 0.114 0:02
Best regards,
Antonio.