You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -120,38 +120,38 @@ Specify the name of the checksum file to test or create.
120
120
If file is \-, stdin (for \-T) or stdout (for \-C) will be used.
121
121
.IP"\-t type"
122
122
Specify the type of the file.
123
-
Can be sfv, sfvmd5, b3, csv, csv2, csv4, sha1, sha224, sha256, sha384, sha512, md5, bsdmd5, par, par2, torrent, crc, auto, or help.
123
+
Can be sfv, sfvmd5, csv, csv2, csv4, crc, md5, bsdmd5, sha1, sha224, sha256, sha384, sha512, b3, torrent, par, par2, auto, or help.
124
+
For details see supported checksum formats section.
124
125
If the type is help, or an unknown type is given, a list of the types and their descriptions will be printed.
125
126
The default is auto, which will detect the file type for you.
126
127
When creating, if type is auto an sfv will be made, unless a different default has been set in the config file.
127
128
.IP"\-\-list listset"
128
129
Prints a raw listing of files in the given set (ok, bad, unverified, notfound). Usually used with \-q, but not strictly needed since specifying \-\-list will redirect all other messages to stderr.
129
130
.IP"\-\-list0 listset"
130
131
Like \-\-list but files are separated by a null char. Useful in combination with xargs \-0.
132
+
.IP"\-\-length BYTES"
133
+
Set digest length in bytes for hash types that support variable output (b3).
134
+
The default for b3 is 32 (256 bits).
131
135
.IP"\-\-announceurl URL"
132
136
Tracker announce URL for .torrent file creation.
133
137
.IP"\-\-piece_size_pow2 N"
134
138
Power of two to set piece size to for .torrent file creation.
135
139
The default is 18, which gives a piece size of 2^18=256KB.
136
140
.IP"\-\-private_torrent"
137
141
Set private flag in torrent during .torrent file creation.
138
-
.IP"\-\-length BYTES"
139
-
Set digest length in bytes for hash types that support variable output (b3).
140
-
The default for b3 is 32 (256 bits).
141
142
.IP"\-h/\-\-help"
142
143
Print help info.
143
144
.IP"\-\-version"
144
145
Print version of cfv and modules it uses.
146
+
.SH SUPPORTED CHECKSUM FILE FORMATS
147
+
The following types are supported:
145
148
.P
146
149
.Bsfv
147
150
is a Simple File Verify format file
148
151
.br
149
152
.Bsfvmd5
150
153
is a Simple File Verify format file, using MD5 checksums rather than crc32.
151
154
.br
152
-
.Bb3
153
-
is a BLAKE3 checksum file (.b3). Requires the Python blake3 module.
154
-
.br
155
155
.Bcsv
156
156
is a Comma Separated Value file, with the fields being name,size,crc32,
157
157
.br
@@ -161,6 +161,15 @@ is a Comma Separated Value file, with the fields being name,size,
161
161
.Bcsv4
162
162
is a Comma Separated Value file, with the fields being name,size,crc32,path
163
163
.br
164
+
.Bcrc
165
+
is a JPEG Sheriff format crc file
166
+
.br
167
+
.Bmd5
168
+
is a GNU md5sum format file
169
+
.br
170
+
.Bbsdmd5
171
+
is a BSD md5 format file
172
+
.br
164
173
.Bsha1
165
174
is a GNU sha1sum format file
166
175
.br
@@ -176,23 +185,17 @@ is a GNU sha384sum format file
176
185
.Bsha512
177
186
is a GNU sha512sum format file
178
187
.br
179
-
.Bmd5
180
-
is a GNU md5sum format file
188
+
.Bb3
189
+
is a BLAKE3 b3sum format file (B3SUMS, .b3, .bk3). Requires the Python blake3 module.
181
190
.br
182
-
.Bbsdmd5
183
-
is a BSD md5 format file
191
+
.Btorrent
192
+
is a BitTorrent metainfo file
184
193
.br
185
194
.Bpar
186
195
is parchive v1 format file (test-only)
187
196
.br
188
197
.Bpar2
189
198
is parchive v2 format file (test-only)
190
-
.br
191
-
.Btorrent
192
-
is a BitTorrent metainfo file
193
-
.br
194
-
.Bcrc
195
-
is a JPEG Sheriff format crc file
196
199
.SH EXIT STATUS
197
200
The exit status of cfv can be examined to determine what kind of errors, if any, occurred.
0 commit comments