1.4
This release adds two features I've been using on my own.
--compare
allows me to directly compare two or more files (including directories), because there has been moments when I questioned myself if I really properly copied a file to a new location.
--against
allows me to directly check a hash instead of a check/sum file, because some websites do not provide sum files (e.g., .sha512).
Changelog
- Added: Support for MurMurHash3-32 (
mmhash3-32
) and MurMurHash3-128 (mmhash3-128
). - Added:
-C
/--compare
to compare all files to each other. - Added:
-A
/--against
to compare all files to string hash.- Does not support SRI hashes at the moment.
- Improved: Internally use
secureHash
in the case of someone using this program for online projects. - Improved: Hash strings are internally lowercased when compared.
- Improved: The "chunk size" option has been renamed to
-b
/--buffersize
, and has been altered from 64KiB to 4KiB for performance reasons. - Improved: If no file inputs are given, stdin mode is assumed.
- Improved:
-
no longer means the stdin mode, use--stdin
. - Improved: While checking sum files, errors were displays. In those cases, warnings are emitted.
- Fixed: Dangling switches that counted as files regardless usage of
--
.