Alex
Alex

Reputation: 6645

How to make an MD5 file on a Mac

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?

Upvotes: 14

Views: 46184

Answers (2)

karlphillip
karlphillip

Reputation: 93410

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.

Upvotes: 23

sstendal
sstendal

Reputation: 3228

In your terminal, just use the command "md5" and the file name. It's in /sbin/md5 i think.

> md5 -r myfile.txt

Upvotes: 13

Related Questions