Bash/shell: md5sum progress bar

Step-by-Step descriptions of how to do things.
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

Bash/shell: md5sum progress bar

Post 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 -
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply