b2sum Command Examples

Calculate BLAKE2 cryptographic checksums. More information: https://www.gnu.org/software/coreutils/manual/html_node/b2sum-invocation.html.

b2sum {{path/to/file1 path/to/file2 ...}}

b2sum {{path/to/file1 path/to/file2 ...}} > {{path/to/file.b2}}

{{command}} | b2sum

b2sum --check {{path/to/file.b2}}

b2sum --check --quiet {{path/to/file.b2}}

b2sum --ignore-missing --check --quiet {{path/to/file.b2}}

echo {{known_blake2_checksum_of_the_file}} {{path/to/file}} | b2sum --check