From 8a1e9761c501acf5f4fdf7d43c225e2f96ff122d Mon Sep 17 00:00:00 2001 From: Igor Shubovych Date: Sun, 22 Nov 2015 18:50:49 +0200 Subject: [PATCH] md5: split basic example for simplicity, add example of md5 checksum for given string --- pages/osx/md5.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pages/osx/md5.md b/pages/osx/md5.md index 1b50f1c0a..00f236337 100644 --- a/pages/osx/md5.md +++ b/pages/osx/md5.md @@ -2,12 +2,19 @@ > Calculate MD5 cryptographic checksums -- Calculate the MD5 checksum for file(s) or files in a directory, one checksum per file +- 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}}`