cs/readme.md

21 lines
436 B
Markdown
Raw Permalink Normal View History

2015-12-08 10:18:42 -08:00
# cs
2016-11-16 01:23:39 -08:00
concurrently calculate/verify checksums (cs)
2015-12-08 10:18:42 -08:00
2016-11-16 01:23:39 -08:00
It's a simpler version of shasum + md5sum, but concurrently and only with
support for md5, sha1, sha256, and sha512.
2015-12-08 10:18:42 -08:00
## usage
2016-11-16 01:23:39 -08:00
# create checksums
2015-12-08 10:18:42 -08:00
cs -a 256 < foo.txt
cs foo.txt
2016-11-16 01:23:39 -08:00
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