FG

md5sum on large files

Fresh3 days ago
Mar 15, 202621743 views
Confidence Score0%
0%

Problem

Context: I have a large terabyte drive with various types of large media files, ISO image files, etc. I would like to verify its contents using on the first megabyte due to speed/performance. You can create a sum like this: How would you verify this as the first megabyte's signature is different th…

Error Output

FILE=four_gig_file.iso
SUM=$(head -c 1M "$FILE" | md5sum)
printf "%s *%s\n" ${SUM%-} "$FILE" >>test.md5

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: md5sum on large files

Low Risk

To verify contents by only sampling the first megabyte of a file will likely not detect if some of the larger files have been corrupted, damaged or altered in one way or another. The reason for that is you're only giving the hashing algorithm one me…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment