dm/cs
1
0
forked from sm/cs
calculate checksums
Go to file
2017-01-16 19:00:25 -08:00
check.go allow for spaces in filenames 2016-12-01 21:53:41 -08:00
hash.go Fix deadlock 2017-01-16 19:00:25 -08:00
license updated license file 2016-11-16 01:32:17 -08:00
main.go rearrange, rename, refactor 2016-11-16 01:27:25 -08:00
readme.md update readme 2016-11-16 01:29:08 -08:00

cs

concurrently calculate/verify checksums (cs)

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 > checksums.sha1

# verify
cat checksums.sha1 | cs -c 
cs -c checksums.sha1

# both
cs $(find ~/src/mcquay.me | grep  '\.go$') | cs -c