Debian Codegraph @

archived/README

raw
1 ====
2 dtrx
3 ====
4
5 ----------------------------------
6 cleanly extract many archive types
7 ----------------------------------
8
9 :Author: Brett Smith <[email protected]>
10 :Date: 2011-11-19
11 :Copyright: 2006-2011 Brett Smith and others
12
13 :Manual section: 1
14
15 SYNOPSIS
16 ========
17
18 dtrx [OPTIONS] ARCHIVE [ARCHIVE ...]
19
20 DESCRIPTION
21 ===========
22
23 dtrx extracts archives in a number of different formats; it currently
24 supports tar, zip (including self-extracting .exe files), cpio, rpm, deb,
25 gem, 7z, cab, rar, lzh, arj, and InstallShield files. It can also decompress
26 files compressed with gzip, bzip2, lzma, xz, lrzip, lzip, or compress.
27
28 In addition to providing one command to handle many different archive
29 types, dtrx also aids the user by extracting contents consistently. By
30 default, everything will be written to a dedicated directory that's named
31 after the archive. dtrx will also change the permissions to ensure that the
32 owner can read and write all those files.
33
34 To run dtrx, simply call it with the archive(s) you wish to extract as
35 arguments. For example::
36
37 $ dtrx coreutils-5.*.tar.gz
38
39 You may specify URLs as arguments as well. If you do, dtrx will use `wget
40 -c` to download the URL to the current directory and then extract what it
41 downloads. This may fail if you already have a file in the current
42 directory with the same name as the file you're trying to download.
43
44 OPTIONS
45 =======
46
47 dtrx supports a number of options to mandate specific behavior:
48
49 -r, --recursive
50 With this option, dtrx will search inside the archives you specify to see
51 if any of the contents are themselves archives, and extract those as
52 well.
53
54 --one, --one-entry
55 Normally, if an archive only contains one file or directory with a name
56 that doesn't match the archive's, dtrx will ask you how to handle it.
57 With this option, you can specify ahead of time what should happen.
58 Possible values are:
59
60 inside
61 Extract the file/directory inside another directory named after the
62 archive. This is the default.
63
64 rename
65 Extract the file/directory in the current directory, and then rename
66 it to match the name of the archive.
67
68 here
69 Extract the file/directory in the current directory.
70
71 -o, --overwrite
72 Normally, dtrx will avoid extracting into a directory that already exists,
73 and instead try to find an alternative name to use. If this option is
74 listed, dtrx will use the default directory name no matter what.
75
76 -f, --flat
77 Extract all archive contents into the current directory, instead of
78 their own dedicated directory. This is handy if you have multiple
79 archive files which all need to be extracted into the same directory
80 structure. Note that existing files may be overwritten with this
81 option.
82
83 -n, --noninteractive
84 dtrx will normally ask the user how to handle certain corner cases, such
85 as how to handle an archive that only contains one file. This option
86 suppresses those questions; dtrx will instead use sane, conservative
87 defaults.
88
89 -l, -t, --list, --table
90 Don't extract the archives; just list their contents on standard output.
91
92 -m, --metadata
93 Extract the metadata from .deb and .gem archives, instead of their normal
94 contents.
95
96 -q, --quiet
97 Suppress warning messages. List this option twice to make dtrx silent.
98
99 -v, --verbose
100 Show the files that are being extracted. List this option twice to
101 print debugging information.
102
103 --help
104 Display basic help.
105
106 --version
107 Display dtrx's version, copyright, and license information.
108
109 LICENSE
110 =======
111
112 dtrx 7.1 is copyright © 2006-2011 Brett Smith and others. Feel free to
113 send comments, bug reports, patches, and so on. You can find the latest
114 version of dtrx on its home page at
115 <http://www.brettcsmith.org/2007/dtrx/>.
116
117 dtrx is free software; you can redistribute it and/or modify it under the
118 terms of the GNU General Public License as published by the Free Software
119 Foundation; either version 3 of the License, or (at your option) any
120 later version.
121
122 This program is distributed in the hope that it will be useful, but
123 WITHOUT ANY WARRANTY; without even the implied warranty of
124 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
125 Public License for more details.
126
127 You should have received a copy of the GNU General Public License along
128 with this program; if not, see <http://www.gnu.org/licenses/>.