pixz
pixz copied to clipboard
Feature Request: Support --verbose option from xz
The xz command from xz-utils provides a option called --verbose that prints information on the progress, compression and estimated remaining time. When stdout is redirected, it will instead print a summary of the total compression when it's finished. It would be great if pixz could do the same.
Yep, I just came here to ask something similar. It's quite useful to see the progress.
The third-party progress utility can't figure this command out either ☹️ (likely due to how the final file is assembled). Passing the input through pv also doesn't work due to how the input is read (instantaneously in a single-file 200M test that got 50% compression). Therefore, a progress view must be internal to pixz.
I definitely use pv with pixz! It's only really useful when you have a multi-block file of course, as you noticed.
Adding built-in progress would be great though, PRs welcome.