CKSFV(1)
cksfv(1) β tests and creates simple file verification (SFV) listings π
πΈ NAME πΈ
okay so bestie, this is cksfv, straight outta the General Commands Manual β yes, the CKSFV(1) page β and she tests and creates simple file verification (SFV) listings. that's the whole name vibe: cksfv - tests and creates simple file verification (SFV) listings. periodt β¨
β¨ SYNOPSIS β¨
cksfv [-bciqrLR] [-C dir] [-f file] [-g path] [file ...]
π DESCRIPTION π
cksfv is a tool for verifying CRC32 checksums of files. CRC32 checksums are used to verify that files are not corrupted. the algorithm is cryptographically crippled, so no cap, it can not be used for security purposes. md5sum (1) or sha1sum (1) are much better tools for checksuming files. cksfv should only be used for compatibility with other systems.
cksfv has two operation modes: checksum creation and checksum verification.
- checksum creation mode β
cksfvoutputs CRC32 checksums of files to stdout, normally redirected to an.sfvfile. - checksum verification mode β
cksfvreads filenames from an sfv file, and compares the recorded checksum values against recomputed checksums of files.
π OPTIONS π
these are the options, bestie β collect them all:
-bβ Strip dirnames from filenames that are checksumed. loads the files from original positions, but prints only basenames to catalogue in sfv file.-cβ Use stdout for printing progress and final resolution (files OK or some errors detected). this is useful for external programs analysing output ofcksfv. this also forces fflushes on the output when needed.-C dirβ Change current directory before proceeding with a verification operation. this option is mostly obsoleted with the-goption. earlier this was used to verify checksums in a different directory:cksfv -C foo -f foo/bar.sfv-f fileβ Verify checksums in the sfv file.-g pathβ Go to the path name directory and verify checksums in the sfv file.-iβ Ignore case in filenames. this is used in the checksum verification mode.-Lβ Follow symlinks when recursing subdirectories. this option can be used with the-rand-Roptions.-qβ Enable QUIET mode (instead of verbose mode), only error messages are printed.-vβ Enable VERBOSE mode, this is the default mode.-rβ recurse directories and check the.sfvfiles in each. Symlinks are not followed by default. this option cannot be used with-fand-goptions.-Rβ recurse directories and read checksum for each file. Symlinks are not followed by default.
π¦ EXAMPLES π¦
- Verify checksums of files listed in
'foo/files.sfv':
cksfv -g foo/files.sfv
- Create checksums for a set of files:
cksfv *.gz > files.sfv
- Verify checksums of case-insensitive filenames listed in
'files.sfv'. this is sometimes useful with files created by operating systems that have case-insensitive filesystem names.
cksfv -i -g files.sfv
- Check checksums of files
'foo'and'bar'listed in'files.sfv':
cksfv -g files.sfv foo bar
- Create checksums of files matching
/foo/bar/*and strip dirnames away:
cksfv -b /foo/bar/* > files.sfv
- Recursively scan
/foo/barand verify each.sfvfile:
cksfv -C /foo/bar -r
- Same as previous, but starting from the current working directory and also following symlinks during recursion:
cksfv -r -L
π SEE ALSO π
basename(1) dirname(1) md5sum(1) sha1sum(1)
π AUTHOR π
This manual page was originally written by Stefan Alfredsson <stefan@alfredsson.org>. It was later modified by Heikki Orsila <heikki.orsila@iki.fi> and Durk van Veen <durk.van.veen@gmail.com>.
that's the whole CKSFV(1) vibe, bestie β love u, bye π«Άπ
π¦ where this page comes from
- alpine 3.22: cksfv-doc 1.3.15-r3 Β· GPL-2.0-or-later
- alpine 3.23: cksfv-doc 1.3.15-r3 Β· GPL-2.0-or-later
- alpine 3.24: cksfv-doc 1.3.15-r3 Β· GPL-2.0-or-later
- arch rolling: cksfv 1.3.15-2 Β· GPL-2.0-or-later
- fedora 43: cksfv 1.3.15-14.fc43 Β· GPL-2.0-or-later
- fedora 44: cksfv 1.3.15-16.fc44 Β· GPL-2.0-or-later
- nixos 26.05: cksfv 1.3.15
- nixpkgs unstable: cksfv 1.3.15
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms