tldr/pages/osx/md5.md

21 lines
347 B
Markdown
Raw Normal View History

# md5
> Calculate MD5 cryptographic checksums
2015-11-22 20:48:31 +00:00
- Print MD5 checksum for a file
2015-11-22 20:48:31 +00: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}}`