macOS
brew install dtrxlocal Homebrew formula metadata
sudo port install dtrxMacPorts ports tree · archivers/dtrx/Portfile · 来源: api.github.com
安装
brew install dtrxlocal Homebrew formula metadata
sudo port install dtrxMacPorts ports tree · archivers/dtrx/Portfile · 来源: api.github.com
sudo apk add dtrxAlpine Linux edge package indexes · dtrx · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#dtrxnixpkgs package indexes · pkgs/by-name/dt/dtrx/package.nix · 来源: api.github.com
sudo zypper install dtrxopenSUSE Tumbleweed package metadata · dtrx · 来源: download.opensuse.org
概览
Intelligent archive extraction
历史
dtrx, short for 'Do The Right eXtraction', is a small command-line archive extractor that tries to make archive unpacking predictable. Its point is cultural as much as technical: stop remembering the right `tar`, `unzip`, `cpio`, or decompressor flags and run one command.
The current dtrx-py repository describes itself as a copy of Brett Smith's original dtrx project, with all credit attributed to the original author. The maintained Python 3 fork exists because the original Python 2-era package became difficult to keep in Linux distributions, with the README specifically citing Ubuntu 20.04+ removal from default package archives as motivation.
dtrx has a long tail in Unix package managers: Homebrew, Debian/Ubuntu, Alpine, MacPorts, Nix, and openSUSE-style packaging all carry or have carried it. The modern dtrx-py project publishes releases to PyPI and GitHub to keep the tool installable for Python 3 systems.
Users run `dtrx archive.tar.gz` or equivalent archive names and let the tool choose extraction behavior. Its attraction is avoiding accidental directory clutter, wrong flags, or inconsistent behavior across archive formats.
dtrx is a classic package-nerd utility: tiny, opinionated, and memorable because it wraps a messy Unix tool surface into one command. The Python 2 to Python 3 maintenance story also mirrors a common distribution-maintenance pattern, where useful old scripts survive through community continuation projects.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dtrx | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://pypi.org/project/dtrx/
安装元数据
| 软件包键 | brew:dtrx |
|---|---|
| 版本 | 8.7.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/dtrx |
| 主页 | https://pypi.org/project/dtrx/ |
| 仓库 | https://github.com/dtrx-py/dtrx |
| 上游文档 | https://github.com/dtrx-py/dtrx#readme |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://files.pythonhosted.org/packages/12/c2/e678320a0051cbbe5de91d1836998bac858086852a135441d7d0bfddc1c1/dtrx-8.7.1.tar.gz |
| 依赖 | p7zip, python@3.14, xz |
| macOS 提供的库 | bzip2, unzip |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dtrx |
| 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 软件包链接分开显示。
dtrx 8.5.3-3
intelligently extract multiple archive types
https://github.com/dtrx-py/dtrx
sudo apt install dtrxdtrx
nix profile install nixpkgs#dtrxdtrx 8.5.3-1
intelligently extract multiple archive types
https://github.com/dtrx-py/dtrx
sudo apt install dtrxdtrx 8.5.3-r2
Do The Right eXtraction
http://www.brettcsmith.org/2007/dtrx/
sudo apk add dtrxdtrx-pyc 8.5.3-r2
Precompiled Python bytecode for dtrx
http://www.brettcsmith.org/2007/dtrx/
sudo apk add dtrx-pycdtrx 8.5.3-1.5
Intelligent Archive Extraction Tool
https://brettcsmith.org/2007/dtrx/
sudo zypper install dtrxdtrx
sudo port install dtrx来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.