macOS
brew install dtrxlocal Homebrew formula metadata
sudo port install dtrxMacPorts ports tree · archivers/dtrx/Portfile · source: api.github.com
brew / rank 5695
Intelligent archive extraction. Version 8.7.1 via Homebrew; verified from local package data. Also installable with debian: sudo apt install dtrx.
install
brew install dtrxlocal Homebrew formula metadata
sudo port install dtrxMacPorts ports tree · archivers/dtrx/Portfile · source: api.github.com
sudo apk add dtrxAlpine Linux edge package indexes · dtrx · source: dl-cdn.alpinelinux.org
sudo apt install dtrxDebian stable package indexes · dtrx · source: deb.debian.org
nix profile install nixpkgs#dtrxnixpkgs package indexes · pkgs/by-name/dt/dtrx/package.nix · source: api.github.com
sudo zypper install dtrxopenSUSE Tumbleweed package metadata · dtrx · source: download.opensuse.org
overview
Intelligent archive extraction
history
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
dtrx | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:dtrx |
|---|---|
| Version | 8.7.1 |
| Package manager | Homebrew |
| Homepage | https://pypi.org/project/dtrx/ |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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.6
Intelligent Archive Extraction Tool
https://brettcsmith.org/2007/dtrx/
sudo zypper install dtrxdtrx
sudo port install dtrxsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.