tldr/pages/osx/md5.md

21 lines
352 B
Markdown
Raw Normal View History

# md5
> Calculate MD5 cryptographic checksums.
- Print MD5 checksum for a file:
2015-11-22 23:48:31 +03:00
`md5 {{filename}}`
- Print MD5 checksum for each file in a list or directory:
`md5 {{filename1}} {{filename2}}`
`md5 {{directory/\*}}`
- Output only the md5 checksum (no filename):
`md5 -q {{filename}}`
- Print a checksum of the given string:
`md5 -s {{string}}`