macOS
brew install ddhlocal Homebrew formula metadata
sudo port install ddhMacPorts ports tree · sysutils/ddh/Portfile · 来源: api.github.com
安装
brew install ddhlocal Homebrew formula metadata
sudo port install ddhMacPorts ports tree · sysutils/ddh/Portfile · 来源: api.github.com
nix profile install nixpkgs#ddhnixpkgs package indexes · pkgs/by-name/dd/ddh/package.nix · 来源: api.github.com
概览
Fast duplicate file finder
历史
DDH, expanded in its README as Directory Differential hTool, is a Rust duplicate-file finder that traverses directories, hashes files as needed, and reports duplicate and unique file sets.
The GitHub repository was created in 2018 and the README keeps the project deliberately small: usable as both a Rust library and a standalone CLI. Its official releases show 0.12.0 and 0.13.0 in 2022, which is enough to establish a modest public package history without inventing a broader origin story.
DDH has comparatively narrow adoption compared with older duplicate-file tools, but its availability through Homebrew, MacPorts, and Nix matches the pattern of Rust utilities that package cleanly for users who want a fast single binary.
CLI usage centers on selecting directories, choosing duplicate-only or all-file verbosity, and emitting either human-readable standard output or JSON for downstream tools. The README also shows library use through a deduplication API.
DDH is interesting as a small Rust package because it combines a filesystem-maintenance job with package-manager-friendly installation and JSON output. Its significance is practical rather than historical: it is the kind of niche utility that becomes useful when installed everywhere through common package managers.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ddh | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/darakian/ddh
安装元数据
| 软件包键 | brew:ddh |
|---|---|
| 版本 | 0.13.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ddh |
| 主页 | https://github.com/darakian/ddh |
| 仓库 | https://github.com/darakian/ddh |
| 上游文档 | https://github.com/darakian/ddh#readme |
| 许可证 | LGPL-3.0-only |
| 源码归档 | https://github.com/darakian/ddh/archive/refs/tags/0.13.0.tar.gz |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ddh |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
ddh
nix profile install nixpkgs#ddhddh
sudo port install ddh来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.