Linux / Unix dtrx: Cleanly Extract Many Archive Type – Best Of Terminal Apps

by on December 11, 2012 · 0 comments· LAST UPDATED December 11, 2012

Fig.05: dtrx in action

dtrx extracts archives in a number of different formats; it currently supports tar, zip (including self-extracting .exe files), cpio, rpm, deb,
gem, 7z, cab, rar, and InstallShield files. It can also decompress files compressed with gzip, bzip2, lzma, or compress.

In addition to providing one command to handle many different archive types, dtrx also aids the user by extracting contents consistently. By default, everything will be written to a dedicated directory that's named after the archive. dtrx will also change the permissions to ensure that the owner can read and write all those files.

To run dtrx, simply call it with the archive(s) you wish to extract as arguments. For example:

$ dtrx foobar.*.tar.gz
TwitterFacebookGoogle+Found an error/typo on this page? Help us!

Read full blog post: 15 Greatest Open Source Terminal Applications Of 2012