From 9e4d6b8f9ed6feb460de2a2fceb740941cbc4f9d Mon Sep 17 00:00:00 2001 From: "Stephen McQuay (smcquay)" Date: Wed, 16 Nov 2016 01:23:39 -0800 Subject: [PATCH] update readme --- readme.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index e0795aa..7e443aa 100644 --- a/readme.md +++ b/readme.md @@ -1,12 +1,20 @@ # cs -calculate checksums +concurrently calculate/verify checksums (cs) -It's a simpler version of shasum + md5sum, but only for md5, sha1, sha256, and -sha512. +It's a simpler version of shasum + md5sum, but concurrently and only with +support for md5, sha1, sha256, and sha512. ## usage + # create checksums cs -a 256 < foo.txt cs foo.txt - cs -a sha1 foo.txt foo.txt foo.txt + cs -a sha1 foo.txt foo.txt foo.txt > checksums.sha1 + + # verify + cat checksums.sha1 | cs -c + cs -c checksums.sha1 + + # both + cs $(find ~/src/mcquay.me | grep '\.go$') | cs -c