2014-02-10 23:44:02 +00:00
|
|
|
# md5
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Calculate MD5 cryptographic checksums.
|
2024-01-31 10:20:27 +00:00
|
|
|
> More information: <https://keith.github.io/xcode-man-pages/md5.1.html>.
|
2014-02-10 23:44:02 +00:00
|
|
|
|
2016-01-20 11:45:42 +00:00
|
|
|
- Calculate the MD5 checksum for a file:
|
2014-02-10 23:44:02 +00:00
|
|
|
|
2023-08-09 15:18:25 +01:00
|
|
|
`md5 {{path/to/file}}`
|
2015-11-22 16:50:49 +00:00
|
|
|
|
2016-01-20 11:45:42 +00:00
|
|
|
- Calculate MD5 checksums for multiple files:
|
2015-11-22 16:50:49 +00:00
|
|
|
|
2023-08-09 15:18:25 +01:00
|
|
|
`md5 {{path/to/file1 path/to/file2 ...}}`
|
2014-02-10 23:44:02 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Output only the md5 checksum (no filename):
|
2014-02-10 23:44:02 +00:00
|
|
|
|
2023-08-09 15:18:25 +01:00
|
|
|
`md5 -q {{path/to/file}}`
|
2015-11-22 16:50:49 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Print a checksum of the given string:
|
2015-11-22 16:50:49 +00:00
|
|
|
|
2022-02-14 11:21:43 +00:00
|
|
|
`md5 -s "{{string}}"`
|