mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
b2sum: Fix file path examples (#20420)
Fix file path examples in b2sum.md Updated file paths in b2sum command examples to use .b2 extension.
This commit is contained in:
committed by
GitHub
parent
753a6525f5
commit
e9ccf4b239
@@ -9,7 +9,7 @@
|
||||
|
||||
- Calculate and save the list of BLAKE2 checksums to a file:
|
||||
|
||||
`b2sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.b2}}`
|
||||
`b2sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file}}.b2`
|
||||
|
||||
- Calculate a BLAKE2 checksum from `stdin`:
|
||||
|
||||
@@ -17,15 +17,15 @@
|
||||
|
||||
- Read a file of BLAKE2 checksums and filenames and verify all files have matching checksums:
|
||||
|
||||
`b2sum {{[-c|--check]}} {{path/to/file.b2}}`
|
||||
`b2sum {{[-c|--check]}} {{path/to/file}}.b2`
|
||||
|
||||
- Only show a message for missing files or when verification fails:
|
||||
|
||||
`b2sum {{[-c|--check]}} --quiet {{path/to/file.b2}}`
|
||||
`b2sum {{[-c|--check]}} --quiet {{path/to/file}}.b2`
|
||||
|
||||
- Only show a message when verification fails, ignoring missing files:
|
||||
|
||||
`b2sum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file.b2}}`
|
||||
`b2sum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file}}.b2`
|
||||
|
||||
- Check a known BLAKE2 checksum of a file:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user