Sunday, May 12, 2024
35
rated 0 times [  35] [ 0]  / answers: 1 / hits: 12230  / 3 Years ago, fri, june 4, 2021, 2:41:37

I have some 500 files of 650MB each, named bigfile.000 to bigfile.199 and I need to calculate the MD5 checksum of all files combined. The command I am using is:



cat bigfile.* | md5sum


I have the time, and I understand it will take hours to complete, but I still want to check the progress. Is there any way to do so? Like piping something in between and do a word count that doesn't affect performance much?


More From » command-line

 Answers
1

Use pv. It is in the repos, and shows a nice progress bar.



pv bigfile.* | md5sum  


should do what you want.


[#25330] Saturday, June 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
skaing

Total Points: 462
Total Questions: 124
Total Answers: 113

Location: Nauru
Member since Thu, Feb 2, 2023
1 Year ago
;