Network Security

hashdir – file and directory checksum utility

hashdir is a command-line utility for calculating checksums of files and complete directory trees. It is designed to make it easy to create a fingerprint of a collection of files, allowing users to determine whether the contents have changed.

Unlike tools that operate only on individual files, hashdir can calculate a checksum representing an entire directory. This makes it useful for checking archives, comparing transferred directories, and detecting changes to collections of data. It can also operate on individual files or multiple selected paths, giving users a consistent interface for different kinds of integrity checks.

The software supports several cryptographic and non-cryptographic hash algorithms. Its default algorithm is designed for fast processing, while alternatives are available when stronger cryptographic properties or compatibility with existing checksum systems are required. Directory processing can be customised to include hidden files, exclude selected paths, or omit empty directories. A tree view provides a visual representation of the files included in a calculation.

This is free and open source software.

Key Features

  • Calculates checksums for individual files and complete directory trees.
  • Generates a single hash representing directory contents.
  • Supports BLAKE3, CRC32, MD5, RIPEMD-160, SHA-1, SHA-2, and xxHash3.
  • Configurable selection of the hashing algorithm.
  • Verification of previously saved checksum records.
  • Directory tree display for examining processed content.
  • Optional inclusion of hidden files.
  • Pattern-based exclusion of selected files and directories.
  • Option to omit empty directories from processing.
  • Hash-only output for integration with scripts.
  • Colourised terminal output.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/ultimateanu/hashdir
Support:
Developer: Anu Bandi
License: MIT License

Options available with hashdir

hashdir is written in F# and C#. Learn F# with our recommended free books and free tutorials. Learn C# with our recommended free books and free tutorials.


Related Software

CLI Data Hashing Tools
xxHashNon-cryptographic hash algorithm
b3sumImplementation of the BLAKE3 hash function
RHashCalculate and verify magnet links and various message digests
md5sumCompute and check MD5 message digest; part of GNU Coreutils
cfvTest and create checksum files
JacksumWork with checksums, CRCs, and message digests
md5Generate / check MD5 message digest
digupUpdate md5sum or shasum digest files
cksumCompute and verify file checksums
HashratHash-generation utility
Directory ChecksumRecursively calculate checksums for directory contents
paqFast BLAKE3 hashing tool for files and directories
ddgstHashing and checksum utility
QCalcFileHashHash calculator
hashdirChecksum directories and files
Hash CalculatorCalculates around 50 cryptographic hashes of strings and files
danoHashdeep/md5tree for media files
sha3sumKeccak, SHA-3, SHAKE, and RawSHAKE checksum utilities
luhaSimple file checksum tool
filepackFile hashing and verification
bitratFast file checksum tool supporting multiple hash algorithms
b2sumCalculate BLAKE2 checksums
Additional tools:
hashitGenerate file hashes quickly
hashdeepGenerate and verify file hashes
cksfvCreate and check sfv listings using CRC32 checksums
cksfv.rsReimplements the classic cksfv tool

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted