@hackage haskdeep0.1.0.0
Computes and audits file hashes.
Categories
License
BSD-3-Clause
Maintainer
maurotaraborelli@gmail.com
Links
Versions
Installation
Dependencies (0)
- attoparsec >=0.10 && <0.11
- attoparsec-conduit >=0.5 && <0.6
- base >=4.5 && <4.6
- bytestring >=0.9 && <0.10
- cereal >=0.3 && <0.4
- conduit >=0.5 && <0.6 Show all…
Dependents (1)
@hackage/acme-everything
HaskDeep
What is it?
Command line tool that computes file hashes traversing recursively through a directory structure. Known hashes are saved to file and they can be used to verify the original files or a copy of them.
Quick start
Execute haskdeep without arguments and it will show you the help text:
user@host:~$ haskdeep
Usage: haskdeep COMMAND [-c|--computation MODE] [-r|--root DIRNAME] [-k|--known FILENAME] [-i|--ignore RULE]
Computes hashes and audit a set of files
Available options:
-c,--computation MODE md5 | sha1 | sha256 | skein512 - default md5
-r,--root DIRNAME Root directory - default current directory
-k,--known FILENAME Known hashes file - default known.haskdeep
-i,--ignore RULE Regex to ignore files or directories
-h,--help Show this help text
Available commands:
compute Computes file hashes and saves them to known hashes file
audit Audits files comparing them to known hashes
Default usage:
-
create known hashes of files contained in a root directory (traversed recursively)
user@host:~$ haskdeep compute -c md5 -r myimportantfiles/ -k knownhashes.txt -i "tmp|\.log" -
verify a copy of the same files comparing them with known hashes
user@host:~$ haskdeep audit -c md5 -r copyofmyimportantfiles/ -k knownhashes.txt -i "tmp|\.log"
Licensing
Please see the file called LICENSE.
Reference
Heavily inspired by hashdeep: http://md5deep.sourceforge.net/
Contacts
For question and comments: