tldr/pages/osx/md5.md

21 lines
395 B
Markdown

# md5
> Calculate MD5 cryptographic checksums.
> More information: <https://ss64.com/osx/md5.html>.
- Calculate the MD5 checksum for a file:
`md5 {{path/to/file}}`
- Calculate MD5 checksums for multiple files:
`md5 {{path/to/file1 path/to/file2 ...}}`
- Output only the md5 checksum (no filename):
`md5 -q {{path/to/file}}`
- Print a checksum of the given string:
`md5 -s "{{string}}"`