0

Recently I downloaded a big (140 GB) tar file and it has an MD5 code to verify the downloaded version.

I used md5sum filename to generate MD5 code and compare it with the original one. But, it seems that I should wait for a long time.

Is there a faster way to generate MD5 code for a big file in Fedora?

Ali Sharifi B.
  • 595
  • 1
  • 6
  • 15
  • 1
    have a look at this, this might help you http://stackoverflow.com/questions/28817057/md5-sha1-hashing-large-files – piyushj May 20 '16 at 07:14

1 Answers1

2

If you're not using SSD, your hard drive will be only able to read at about 30M/s.

So for a 140 000MB file size, you have already something like 1h and a half just to read the file.

Now add that there is some process on your computer running, i guess that your "long time" can be something like 2 hours.

Unless switching of storage support for a faster one (SSD, USB), there's nothing much you can do.

Now if md5sum take 10h, i guess it's possible you can find better.

Walfrat
  • 5,363
  • 1
  • 16
  • 35