DTRX(1) | DTRX(1) |
dtrx - cleanly extract many archive types
dtrx [OPTIONS] ARCHIVE [ARCHIVE ...]
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, lzh, arj, and InstallShield files. It can also decompress files compressed with gzip, bzip2, lzma, xz, lrzip, lzip, 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 coreutils-5.*.tar.gz
You may specify URLs as arguments as well. If you do, dtrx will use wget -c to download the URL to the current directory and then extract what it downloads. This may fail if you already have a file in the current directory with the same name as the file you're trying to download.
dtrx supports a number of options to mandate specific behavior:
dtrx 7.1 is copyright © 2006-2011 Brett Smith and others. Feel free to send comments, bug reports, patches, and so on. You can find the latest version of dtrx on its home page at <http://www.brettcsmith.org/2007/dtrx/>.
dtrx is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>.
Brett Smith <brettcsmith@brettcsmith.org>
2006-2011 Brett Smith and others
2011-11-19 |