tldr/pages/osx/md5.md

21 lines
346 B
Markdown
Raw Normal View History

# md5
> Calculate MD5 cryptographic checksums
- Print MD5 checksum for file
`md5 {{filename1}}`
- 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}}`