calculate checksums
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
436 B

5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
  1. # cs
  2. concurrently calculate/verify checksums (cs)
  3. It's a simpler version of shasum + md5sum, but concurrently and only with
  4. support for md5, sha1, sha256, and sha512.
  5. ## usage
  6. # create checksums
  7. cs -a 256 < foo.txt
  8. cs foo.txt
  9. cs -a sha1 foo.txt foo.txt foo.txt > checksums.sha1
  10. # verify
  11. cat checksums.sha1 | cs -c
  12. cs -c checksums.sha1
  13. # both
  14. cs $(find ~/src/mcquay.me | grep '\.go$') | cs -c