1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 13:06:00 +02:00

shasum: move into common (#3999)

This commit is contained in:
Zlatan Vasović 2020-04-22 03:44:35 +02:00 committed by GitHub
parent b5fd4dc159
commit c234e81594
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 23 deletions

View file

@ -1,23 +0,0 @@
# shasum
> Calculate or check cryptographic SHA checksums.
- Calculate the SHA1 checksum for a file:
`shasum {{filename}}`
- Calculate the SHA256 checksum for a file:
`shasum --algorithm 256 {{filename}}`
- Calculate the SHA512 checksum for multiple files:
`shasum --algorithm 512 {{filename1}} {{filename2}}`
- Check a file with a list of sums against the directory's files:
`shasum --check {{list_file}}`
- Calculate the SHA1 checksum from `stdin`:
`{{somecommand}} | shasum`