google / brotli

Brotli compression format
MIT License
13.56k stars 1.24k forks source link

CLI should report progress #721

Open thedrow opened 6 years ago

thedrow commented 6 years ago

This is especially important for compressing or decompressing bigger files.

eustas commented 6 years ago

That is a slippery feature:

Could you point to the program whose progress report you liked the best, please?

thedrow commented 6 years ago

zstd's CLI does the trick just fine.

Absolucy commented 3 years ago

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.

Arnie97 commented 3 years ago
br() {
    for file in "$@"; do
        pv -N "$file" "$file" | brotli -vo "$file.br"
    done
}
eustas commented 3 years ago

TIL! Cool utility.

Also going to take a look at zstd way of doing things, when I get spare cycles.