ed5zlq
Last Updated: February 25, 2016
·
3.911K
· alanthing

Progress bar with compression

Wish you had an idea of when your bzip2 operation was complete? Install pv with your package manager and use like so:

pv largefile.log | bzip2 > largefile.log.bz2

Swap out "bzip2" for "gzip" or any other compression application and it works the same.

2 Responses
Add your response

5159

Wow, I never heard earlier about pv :O Thanks a lot!

over 1 year ago ·
18708

Such a simple solution for all STDIN based operations ! Thanks :)

over 1 year ago ·