Rechercher une page de manuel
cksfv
Langue: en
Version: 110732 (mandriva - 01/05/08)
Section: 1 (Commandes utilisateur)
NAME
cksfv - tests and creates simple file verification (SFV) listingsSYNOPSIS
cksfv [-bciqrL] [-C dir] [-f file] [-g path] [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 uses the .sfv file to verify the downloaded files. It can also 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
- Use stdout for printing progress and final resolution (files OK or some errors detected). This is useful for external programs analysing output of cksfv. This also forces fflushes on the output when needed.
- -C dir
- changetodirectoryforprocessing
- -f file
.sfv file to verify- -g path
Go to the path name directory and verify the sfv file- -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 'foo/files.sfv': cksfv -g foo/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 -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/bar and verify each .sfv file: 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 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>.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre