man cksfv (Commandes) - tests and creates simple file verification (SFV) listings

NAME

cksfv - tests and creates simple file verification (SFV) listings

SYNOPSIS

cksfv [-biqrL] [-C directory] [-f file.sfv] [file ...]

DESCRIPTION

Some files that you download will come with a .sfv file. cksfv is used to verify that the files that you received are the same as the originals. cksfv is a program that can use the .sfv file to verify the downloaded files. Also, it can be used to create new .sfv files.

md5sum (1) or sha1sum (1) are the suggested ways of checksuming new files. cksfv should only be used for compatibility with other systems.

OPTIONS

These options are available

-b
strip dirnames from filenames that are checksumed. loads the files from original positions, but prints only basenames to catalogue in sfv file.
-C
change to directory for processing -f .sfv file to verify
-i
ignore case on filenames
-q
quiet, only prints error messages
-v
verbose, by default this option is on
-r
recurse directories and check the .sfv files in each. This option cannot be used in conjunction with the -f option.
-L
follow symlinks when recursing subdirectories. This option only has meaning when used in conjunction with the -r option.

EXAMPLES

Check checksums of files listed in 'files.sfv':
cksfv -f files.sfv

Create checksums for a bunch of files: cksfv *.gz > files.sfv

Check checksum 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 -f files.sfv

Check checksums of files 'foo' and 'bar' listed in 'files.sfv': cksfv -f files.sfv foo bar

Create checksums of files matching /foo/bar/* and strip dirnames away: cksfv -b /foo/bar/* > files.sfv

Recursively scan through a directory and subdirectories and process each .sfv file that is found: 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

AUTHOR

This manual page was written by Stefan Alfredsson <stefan@alfredsson.org>, for the Debian GNU/Linux system (but may be used by others). It was later modified by Heikki Orsila <heikki.orsila@iki.fi> and Durk van Veen <durk.van.veen@gmail.com>.