mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-05 17:35:41 +02:00
sha384sum: fix file names
This commit is contained in:
parent
fbaf51b98a
commit
ac84907f18
1 changed files with 5 additions and 5 deletions
|
@ -5,20 +5,20 @@
|
||||||
|
|
||||||
- Calculate the SHA384 checksum for a file:
|
- Calculate the SHA384 checksum for a file:
|
||||||
|
|
||||||
`sha384sum {{filename1}}`
|
`sha384sum {{path/to/file}}`
|
||||||
|
|
||||||
- Calculate SHA384 checksums for multiple files:
|
- Calculate SHA384 checksums for multiple files:
|
||||||
|
|
||||||
`sha384sum {{filename1}} {{filename2}}`
|
`sha384sum {{path/to/file1}} {{path/to/file2}}`
|
||||||
|
|
||||||
- Calculate and save the list of SHA384 checksums to a file:
|
- Calculate and save the list of SHA384 checksums to a file:
|
||||||
|
|
||||||
`sha384sum {{filename1}} {{filename2}} > {{filename.sha384}}`
|
`sha384sum {{path/to/file1}} {{path/to/file2}} > {{path/to/file.sha384}}`
|
||||||
|
|
||||||
- Read a file of SHA384 sums and verify all files have matching checksums:
|
- Read a file of SHA384 sums and verify all files have matching checksums:
|
||||||
|
|
||||||
`sha384sum --check {{filename.sha384}}`
|
`sha384sum --check {{path/to/file.sha384}}`
|
||||||
|
|
||||||
- Only show a message for files for which verification fails:
|
- Only show a message for files for which verification fails:
|
||||||
|
|
||||||
`sha384sum --check --quiet {{filename.sha384}}`
|
`sha384sum --check --quiet {{path/to/file.sha384}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue