Command-line File Verify - versatile file checksum creator and verifier
Project description
cfv – Command-line File Verify
cfv is a utility to test and create a wide range of checksum verification files. It currently supports testing and creating sfv, sfvmd5, csv, csv2, csv4, md5, bsdmd5, sha1, sha224, sha256, sha384, sha512, torrent and crc files. Test-only support is available for par, par2.
cfv was originally written by Matthew Mueller (original project home). This is a friendly fork of cfv maintained by David Gnedt.
Requirements
Python ≥ 3.6 – older versions might work, but are unsupported. For Python 2 support, see the python2 branch.
Optional
- Python Imaging Library (PIL) or Pillow – only needed if you want to create the dimensions column of .crc files.
Install
You can get the latest releases via the Python Package Index (PyPI) or from the Github releases page. Other distribution ways are work-in-progress, see issue #4.
From PyPI
If you have a working Python installation with pip, you can install via PyPI:
pip install cfv
From Source
Download a snapshot from the Github releases page or checkout the development version via Git.
python setup.py install
# optional: run tests to verify correct operation
cd test; ./test.py
From OS-specific Repositories
Arch Linux
To install the development version from AUR (maintained by @vestingz):
yay -S cfv-git
FreeBSD
A FreeBSD port is available (maintained by @Terry-Kennedy).
To install the pre-built package (updated quarterly, so may be out-of-date):
pkg install cfv
To build from source (make sure your source tree is up-to-date via any of the usual methods):
cd /usr/ports/security/cfv
make; make install; make clean
To update the pre-built package:
pkg upgrade cfv
To update from source (again, make sure your source tree is up-to-date):
portupgrade cfv
Usage
Please read the man page man cfv
or the usage cfv -h
and have fun ☺️
Contributions
Contributions are welcome, just open a pull request ☺️
Alternative Tools
Here is a community-compiled list of alternative tools that cover some of cfv's functionality (without warranty):
- GNU coreutils *sum: md5sum, sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, ...
- cksfv
- rhash (with
-rc
does more or less the same thing as cfv, performance is good and it supports most hash formats including bittorrent. It lacks cfv's-m
though.) - aria2c (to verify torrent checksums)
- bsdsfv (limited to 1024 files for some reason)
- pure-sfv (doesn't seem to display progress information, even with
-v
) - bcfv (a Bash frontend to checksum programs (SHA, Blake3, MD5))
Copying
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
See the file COPYING
for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cfv-3.1.0.dev0.tar.gz
.
File metadata
- Download URL: cfv-3.1.0.dev0.tar.gz
- Upload date:
- Size: 52.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 843a41482a962326cb1cc76ffb7409bb8ec36f4f98d3981932ef39c0df50490f |
|
MD5 | 95ec9ba0193a341f932c531914eb41b9 |
|
BLAKE2b-256 | 650169855545932602eb5d1aa32dc72fae58d7d90f8d43b801185a77188f57ec |
File details
Details for the file cfv-3.1.0.dev0-py3-none-any.whl
.
File metadata
- Download URL: cfv-3.1.0.dev0-py3-none-any.whl
- Upload date:
- Size: 49.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ec1bd56d773cf799c7635984b2375aefc23eaa2d441c10f7b14a950d2c669a3 |
|
MD5 | 73a33289dd77ada1af72a3e9c687614d |
|
BLAKE2b-256 | 382debad9278093c3d02c5dd5d4a0ad10a07f22d362ace2de9f40c6e6f101523 |