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.
Written by Alan Ivey
Related protips
2 Responses
Wow, I never heard earlier about pv :O Thanks a lot!
over 1 year ago
·
Such a simple solution for all STDIN based operations ! Thanks :)
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Terminal
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#