Open thedrow opened 6 years ago
That is a slippery feature:
\r
; that is less portable, as it requires terminal to support this; and again, the width of console comes in play... and it might change over time, you know...Could you point to the program whose progress report you liked the best, please?
zstd's CLI does the trick just fine.
It's really annoying attempting to compress a decently sized file, and having no indicator whatsoever of progress. No clue if it's going to take 2 minutes or 5 hours.
br() {
for file in "$@"; do
pv -N "$file" "$file" | brotli -vo "$file.br"
done
}
TIL! Cool utility.
Also going to take a look at zstd way of doing things, when I get spare cycles.
This is especially important for compressing or decompressing bigger files.