dtrx

A command-line tool that extracts many archive formats with one consistent command.

These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.

About dtrx

dtrx, short for Do The Right eXtraction, spares you from remembering tar flags or which tool handles which format. You run dtrx on an archive and it works out the type, calls the right extractor and unpacks the contents.

This repository is a maintained fork of the original project by Brett Smith. It installs with pip and suits anyone who regularly unpacks downloads and source tarballs in a terminal.

Strengths

  • One command for many archive types
  • No need to remember tar flags
  • Installs with pip

Limitations

  • Extraction only; it does not create archives
  • Relies on the underlying extraction tools being installed

Details

Pricing
FreeFree and open source.
License
Open source, license not stated
Developer
The dtrx contributors
Platforms
Linux, Command line
How it runs
Downloadable app
Account
Not required
Works offline
Yes
Best suited for
Terminal users who unpack archives often and want one command for all of them
Last verified
Added
Provenance
Facts checked against the developer's own pages and store listings, 1 sources on file.

Alternatives to dtrx

Compare all

Software that can replace dtrx for an important use case, and what changes if you switch.

  • ouch

    Command-line tool that compresses and extracts archives without format-specific flags.

    ouch uses one command for both compressing and extracting archives, runs on Windows, macOS and Linux, and picks the format from the file name.

  • bsdtar (libarchive)

    Command-line archivers built on libarchive that read and write tar, zip, cpio, ISO and more.

    bsdtar reads many formats including zip, rar and ISO with automatic format detection and can also write archives, though its options differ from GNU tar.

  • p7zip

    Command-line port of 7-Zip's compression tools for POSIX systems.

    p7zip brings 7-Zip's command-line tools to Linux and macOS, both creating and extracting archives, though its development has slowed compared with Windows 7-Zip.

  • unblob

    Command-line extraction tool that finds and unpacks archives and compressed streams inside arbitrary binary files.

    unblob extracts archives found inside arbitrary binaries recursively, aimed at firmware analysis rather than everyday archive work, and some formats need external tools installed.

dtrx as an alternative

Listings that name dtrx as an alternative.

  • ripunzip

    A command-line tool that unzips ZIP files in parallel, including while downloading them from a URL.

    dtrx unpacks many archive types with one consistent command and installs with pip, but it relies on underlying extraction tools and does not parallelise ZIP extraction.

Similar software

Related functionality, not necessarily a direct replacement.

Report a wrong fact or a dead link on this listing