{"id":24387967,"url":"https://github.com/ultimateanu/hashdir","last_synced_at":"2025-12-28T06:34:22.019Z","repository":{"id":41956647,"uuid":"314362890","full_name":"ultimateanu/hashdir","owner":"ultimateanu","description":"A command-line utility to checksum directories and files.","archived":false,"fork":false,"pushed_at":"2025-03-05T01:00:34.000Z","size":370,"stargazers_count":47,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-28T21:37:08.413Z","etag":null,"topics":["checksum","checksum-directories","command-line-tool","cross-platform","dotnet","dotnet8","fsharp","hash","hash-tree","hashdir"],"latest_commit_sha":null,"homepage":"https://ultimateanu.github.io/hashdir/","language":"F#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ultimateanu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-19T20:30:07.000Z","updated_at":"2025-03-05T01:00:37.000Z","dependencies_parsed_at":"2025-02-27T13:27:26.340Z","dependency_job_id":"e57ac90b-73fe-41af-85de-ae431ad7a6bc","html_url":"https://github.com/ultimateanu/hashdir","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ultimateanu%2Fhashdir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ultimateanu%2Fhashdir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ultimateanu%2Fhashdir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ultimateanu%2Fhashdir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ultimateanu","download_url":"https://codeload.github.com/ultimateanu/hashdir/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399878,"owners_count":20932880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["checksum","checksum-directories","command-line-tool","cross-platform","dotnet","dotnet8","fsharp","hash","hash-tree","hashdir"],"created_at":"2025-01-19T13:22:04.310Z","updated_at":"2025-12-28T06:34:22.007Z","avatar_url":"https://github.com/ultimateanu.png","language":"F#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hashdir\n\n[![build](https://github.com/ultimateanu/hashdir/actions/workflows/build.yml/badge.svg)](https://github.com/ultimateanu/hashdir/actions/workflows/build.yml)\n[![test](https://github.com/ultimateanu/hashdir/actions/workflows/test.yml/badge.svg)](https://github.com/ultimateanu/hashdir/actions/workflows/test.yml)\n[![codecov](https://codecov.io/gh/ultimateanu/hashdir/branch/main/graph/badge.svg?token=5RR570QEIX)](https://codecov.io/gh/ultimateanu/hashdir)\n\n![sample terminal usage](https://ultimateanu.github.io/hashdir/assets/img/check_demo.svg)\n\n_A command-line utility to hash directories and files._\n\n**hashdir** aims to be the easiest way to hash a file/directory. This is useful in many situations such as transferring files, archiving data, or detecting duplicates. It is a single binary, works on all major OS's, and has a simple command-line interface. It is developed with F# on .NET 8.\n\nLinks: [Github](https://github.com/ultimateanu/hashdir), [NuGet](https://www.nuget.org/packages/hashdir), [Project Site](https://ultimateanu.github.io/hashdir)\n\n## Installation\n\nThere are several ways to get hashdir. Full details can be found [here](https://ultimateanu.github.io/hashdir/#installation).\n\n- **Homebrew\\***: `brew install ultimateanu/software/hashdir`\n- **dotnet**: `dotnet tool install --global hashdir`\n- **Scoop**: `scoop bucket add ultimateanu https://github.com/ultimateanu/homebrew-software; scoop install hashdir`\n- **Stand-alone binary**: latest version for macOS, Windows, and Linux can be found at [releases](https://github.com/ultimateanu/hashdir/releases)\n- **AUR (Arch User Repository)**: If you are using an Arch-based distribution, you can build and install the [hashdir](https://aur.archlinux.org/packages/hashdir) package from the AUR\n\n\\*_Homebrew currently requires a project to have [75 stars](https://docs.brew.sh/Acceptable-Formulae#niche-or-self-submitted-stuff) to be included in core. So I’ve set up a custom tap for now that still allows easy installation. If you like this project, please consider starring on Github and adding a formula to Homebrew core eventually._\n\n## Usage\n\n```\nDescription:\n  A command-line utility to hash directories and files.\n\nUsage:\n  hashdir [\u003citem\u003e...] [command] [options]\n\nArguments:\n  \u003citem\u003e  Directory or file to hash/check\n\nOptions:\n  -t, --tree                                                                      Print directory tree\n  -s, --save                                                                      Save the checksum to a file\n  -a, --algorithm \u003cblake3|crc32|md5|ripemd160|sha1|sha256|sha384|sha512|xxhash3\u003e  The hash function to use [default: xxhash3]\n  -i, --include-hidden-files                                                      Include hidden files\n  -e, --skip-empty-dir                                                            Skip empty directories\n  -n, --ignore \u003cpattern\u003e                                                          Directories/files to not include\n  -h, --hash-only                                                                 Print only the hash\n  -c, --color                                                                     Colorize the output [default: True]\n  --version                                                                       Show version information\n  -?, -h, --help                                                                  Show help and usage information\n\n\nCommands:\n  check \u003citem\u003e  Verify that the specified hash file is valid.\n```\n\n### Examples\n\n1. Hash a file/directory: `hashdir ~/Desktop/project/`\n2. Hash a directory with hidden files and print tree: `hashdir --include-hidden-files --tree ~/Desktop/project`\n3. Hash multiple items using MD5: `hashdir -a md5 song.mp3 info.txt report.pdf`\n4. Hash a directory, but ignore certain directories/files: `hashdir --ignore \"node_modules\" --ignore \"**/*.xml\" ~/Desktop/project`\n\n## License\n\n[MIT License](https://github.com/ultimateanu/hashdir/blob/main/LICENSE)\n\n**hashdir** is an open-source project with a permissive license. If you find a bug or have suggestions feel free to create an issue on Github. Any contributions to the code, tests, or documentation are also welcome via a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultimateanu%2Fhashdir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fultimateanu%2Fhashdir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultimateanu%2Fhashdir/lists"}