summaryrefslogtreecommitdiffstats
path: root/man/b2sum.1
blob: dc2bfd44127739920b2d4860931d6f03fadda637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.48.5.
.TH B2SUM "1" "April 2022" "GNU coreutils 9.1" "User Commands"
.SH NAME
b2sum \- compute and check BLAKE2 message digest
.SH SYNOPSIS
.B b2sum
[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]...
.SH DESCRIPTION
.\" Add any additional description here
.PP
Print or check BLAKE2b (512\-bit) checksums.
.PP
With no FILE, or when FILE is \-, read standard input.
.PP
Mandatory arguments to long options are mandatory for short options too.
.TP
\fB\-b\fR, \fB\-\-binary\fR
read in binary mode
.TP
\fB\-c\fR, \fB\-\-check\fR
read checksums from the FILEs and check them
.TP
\fB\-l\fR, \fB\-\-length\fR=\fI\,BITS\/\fR
digest length in bits; must not exceed the max for
the blake2 algorithm and must be a multiple of 8
.TP
\fB\-\-tag\fR
create a BSD\-style checksum
.TP
\fB\-t\fR, \fB\-\-text\fR
read in text mode (default)
.TP
\fB\-z\fR, \fB\-\-zero\fR
end each output line with NUL, not newline,
and disable file name escaping
.SS "The following five options are useful only when verifying checksums:"
.TP
\fB\-\-ignore\-missing\fR
don't fail or report status for missing files
.TP
\fB\-\-quiet\fR
don't print OK for each successfully verified file
.TP
\fB\-\-status\fR
don't output anything, status code shows success
.TP
\fB\-\-strict\fR
exit non\-zero for improperly formatted checksum lines
.TP
\fB\-w\fR, \fB\-\-warn\fR
warn about improperly formatted checksum lines
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-\-version\fR
output version information and exit
.PP
The sums are computed as described in RFC 7693.
When checking, the input should be a former output of this program.
The default mode is to print a line with: checksum, a space,
a character indicating input mode ('*' for binary, ' ' for text
or where binary is insignificant), and name for each FILE.
.PP
Note: There is no difference between binary mode and text mode on GNU systems.
.SH AUTHOR
Written by Padraig Brady and Samuel Neves.
.SH "REPORTING BUGS"
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
.br
Report any translation bugs to <https://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
\fBcksum\fP(1)
.PP
.br
Full documentation <https://www.gnu.org/software/coreutils/b2sum>
.br
or available locally via: info \(aq(coreutils) b2sum invocation\(aq