.\" Man page generated from reStructuredText. . .TH DTRX 1 "2011-11-19" "7.1" "" .SH NAME dtrx \- cleanly extract many archive types . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp dtrx [OPTIONS] ARCHIVE [ARCHIVE ...] .SH DESCRIPTION .sp 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, and InstallShield files. It can also decompress files compressed with gzip, bzip2, lzma, xz, or compress. .sp 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\(aqs named after the archive. dtrx will also change the permissions to ensure that the owner can read and write all those files. .sp To run dtrx, simply call it with the archive(s) you wish to extract as arguments. For example: .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C $ dtrx coreutils\-5.*.tar.gz .ft P .fi .UNINDENT .UNINDENT .sp You may specify URLs as arguments as well. If you do, dtrx will use \fIwget \-c\fP 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\(aqre trying to download. .SH OPTIONS .sp dtrx supports a number of options to mandate specific behavior: .INDENT 0.0 .TP .B \-r\fP,\fB \-\-recursive With this option, dtrx will search inside the archives you specify to see if any of the contents are themselves archives, and extract those as well. .TP .B \-\-one\fP,\fB \-\-one\-entry Normally, if an archive only contains one file or directory with a name that doesn\(aqt match the archive\(aqs, dtrx will ask you how to handle it. With this option, you can specify ahead of time what should happen. Possible values are: .INDENT 7.0 .TP .B inside Extract the file/directory inside another directory named after the archive. This is the default. .TP .B rename Extract the file/directory in the current directory, and then rename it to match the name of the archive. .TP .B here Extract the file/directory in the current directory. .UNINDENT .TP .B \-o\fP,\fB \-\-overwrite Normally, dtrx will avoid extracting into a directory that already exists, and instead try to find an alternative name to use. If this option is listed, dtrx will use the default directory name no matter what. .TP .B \-f\fP,\fB \-\-flat Extract all archive contents into the current directory, instead of their own dedicated directory. This is handy if you have multiple archive files which all need to be extracted into the same directory structure. Note that existing files may be overwritten with this option. .TP .B \-n\fP,\fB \-\-noninteractive dtrx will normally ask the user how to handle certain corner cases, such as how to handle an archive that only contains one file. This option suppresses those questions; dtrx will instead use sane, conservative defaults. .TP .B \-l\fP,\fB \-t\fP,\fB \-\-list\fP,\fB \-\-table Don\(aqt extract the archives; just list their contents on standard output. .TP .B \-m\fP,\fB \-\-metadata Extract the metadata from .deb and .gem archives, instead of their normal contents. .TP .B \-q\fP,\fB \-\-quiet Suppress warning messages. List this option twice to make dtrx silent. .TP .B \-v\fP,\fB \-\-verbose Show the files that are being extracted. List this option twice to print debugging information. .TP .B \-\-help Display basic help. .TP .B \-\-version Display dtrx\(aqs version, copyright, and license information. .UNINDENT .SH AUTHOR Brett Smith .SH COPYRIGHT 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 . 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 . .\" Generated by docutils manpage writer. .