lzip-bug
[Top][All Lists]
Advanced

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

Re: [Lzip-bug] Feature request / support !


From: Antonio Diaz Diaz
Subject: Re: [Lzip-bug] Feature request / support !
Date: Wed, 19 Jul 2017 17:12:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Hi Daniel,

Daniel Baumann wrote:
Decompression is faster than compression

true; however, i regularly decompress rather large files (>50GB) for
which it would be nice to have a progress bar. for the moment i'm
cat'ing them through pv.

Interesting. I didn't know.

Implementing a progress indicator for decompression (similar to the one already existing for compression) would not be difficult. The problem is that the --verbose option is already overloaded[1], and that I would like to make the progress indicator compatible with the information currently displayed by --verbose. I think a new option would be needed to enable the progress indicator.

Do you have any suggestions about what option name to use and how to achieve the goal above (maybe writing the progress info directly to the controlling terminal to avoid mangling stderr)? Thanks.

[1] http://www.nongnu.org/lzip/manual/lzip_manual.html#Invoking-lzip
-v
--verbose
    Verbose mode.
When compressing, show the compression ratio for each file processed. A second '-v' shows the progress of compression. When decompressing or testing, further -v's (up to 4) increase the verbosity level, showing status, compression ratio, dictionary size, trailer contents (CRC, data size, member size), and up to 6 bytes of trailing data (if any) both in hexadecimal and as a string of printable ASCII characters.


Best regards,
Antonio.



reply via email to

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