I'm sending a source code package to someone via email. I have sent them an .svdump which contains the files. They have now asked me to send an MD5 file for the source dump. How do I create this on a Mac?
A checksum is a calculation of all the data on a disk or disk image. You can use checksums to make sure that a disk image, CD, or DVD was copied correctly. In the Disk Utility app on your Mac, choose Images > Add Checksum, then select the disk image to add the checksum to. Click Open, then click Done.
Open up a terminal and invoke the md5
program with the filename that you want to create a hash for:
md5 some_app > md5.txt
The command above stores the resulting hash in a file named md5.txt
.
In your terminal, just use the command "md5" and the file name. It's in /sbin/md5 i think.
> md5 -r myfile.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With