1CKSFV(1) General Commands Manual CKSFV(1)
2
3
4
6 cksfv - tests and creates simple file verification (SFV) listings
7
9 cksfv [-bciqrL] [-C dir] [-f file] [-g path] [file ...]
10
12 Some files that you download will come with a .sfv file. cksfv is used
13 to verify that the files that you received are the same as the origi‐
14 nals. cksfv uses the .sfv file to verify the downloaded files. It can
15 also be used to create new .sfv files.
16
17 md5sum (1) or sha1sum (1) are the suggested ways of checksuming new
18 files. cksfv should only be used for compatibility with other systems.
19
20
22 These options are available
23
24 -b strip dirnames from filenames that are checksumed. loads the
25 files from original positions, but prints only basenames to cat‐
26 alogue in sfv file.
27
28 -c Use stdout for printing progress and final resolution (files OK
29 or some errors detected). This is useful for external programs
30 analysing output of cksfv. This also forces fflushes on the out‐
31 put when needed.
32
33 -C dir change to directory for processing
34
35 -f file
36 .sfv file to verify
37
38 -g path
39 Go to the path name directory and verify the sfv file
40
41 -i ignore case on filenames
42
43 -q quiet, only prints error messages
44
45 -v verbose, by default this option is on
46
47 -r recurse directories and check the .sfv files in each. This
48 option cannot be used in conjunction with the -f option.
49
50 -L follow symlinks when recursing subdirectories. This option only
51 has meaning when used in conjunction with the -r option.
52
53
55 Check checksums of files listed in 'foo/files.sfv':
56 cksfv -g foo/files.sfv
57
58 Create checksums for a bunch of files:
59 cksfv *.gz > files.sfv
60
61 Check checksum of case-insensitive filenames listed in 'files.sfv'.
62 This is sometimes useful with files created by operating systems
63 that have case-insensitive filesystem names.
64 cksfv -i -g files.sfv
65
66 Check checksums of files 'foo' and 'bar' listed in 'files.sfv':
67 cksfv -g files.sfv foo bar
68
69 Create checksums of files matching /foo/bar/* and strip dirnames away:
70 cksfv -b /foo/bar/* > files.sfv
71
72 Recursively scan /foo/bar and verify each .sfv file:
73 cksfv -C /foo/bar -r
74
75 Same as previous, but starting from the current working directory
76 and also following symlinks during recursion:
77 cksfv -r -L
78
79
81 basename(1) dirname(1) md5sum(1) sha1sum(1)
82
83
85 This manual page was written by Stefan Alfredsson <stefan@alfreds‐
86 son.org>, for the Debian GNU/Linux system (but may be used by others).
87 It was later modified by Heikki Orsila <heikki.orsila@iki.fi> and Durk
88 van Veen <durk.van.veen@gmail.com>.
89
90
91
92 CKSFV(1)