Page 1 of 1

Bash/shell: md5sum progress bar

Posted: Thu Feb 27, 2014 3:27 pm
by ^rooker
Usually, I use "md5sum file.bla > MD5SUMS", but for large files this is uncomfortably silent.

Thanks to an answer on stackoverflow by user "the other guy", who suggested to use "pv":

Code: Select all

$ pv file.bla | md5sum
will give you a nice progress bar with md5sum's output like this:
78.9MB 0:00:02 [38.2MB/s] [===============================================================>] 100%
9f5d6a57bbdffc6c55bee82b3f4d4290 -