File: index.html

package info (click to toggle)
dtrx 8.0.1%2Bgit20200717-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 868 kB
  • sloc: python: 1,504; sh: 21; makefile: 9
file content (141 lines) | stat: -rw-r--r-- 4,504 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html><head><title>dtrx: Intelligent archive extraction</title>
<link rel="stylesheet" href="common.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<h1>dtrx: Intelligent archive extraction</h1>

<h2>Introduction</h2>

<p><span class="pname">dtrx</span> stands for &ldquo;Do The Right
Extraction.&rdquo; It's a tool for Unix-like systems that takes all the
hassle out of extracting archives.  Here's an example of how you use
it:</p>

<pre>$ dtrx linux-3.0.1.tar.bz2</pre>

<p>That's basically the same thing as:</p>

<pre>$ tar -jxf linux-3.0.1.tar.bz2</pre>

<p>But there's more to it than that.  You know those really annoying files
that don't put everything in a dedicated directory, and have the
permissions all wrong?</p>

<pre>$ tar -zvxf random-tarball.tar.gz
foo
bar
data/
data/text
$ cd data/
cd: permission denied: data</pre>

<p><span class="pname">dtrx</span> takes care of all those problems for
you, too:</p>

<pre>$ dtrx random-tarball.tar.gz
$ cd random-tarball/data
$ cat text
This all works properly.</pre>

<p><span class="pname">dtrx</span> is simple and powerful.  Just use the
same command for all your archive files, and they'll never frustrate you
again.</p>

<h2>Features</h2>

<ul>

<li><strong>Handles many archive types</strong>: You only need to remember
one simple command to extract

<span class="pname">tar</span>,
<span class="pname">zip</span>,
<span class="pname">cpio</span>,
<span class="pname">deb</span>,
<span class="pname">rpm</span>,
<span class="pname">gem</span>,
<span class="pname">7z</span>,
<span class="pname">cab</span>,
<span class="pname">lzh</span>,
<span class="pname">rar</span>,
<span class="pname">arj</span>,
<span class="pname">gz</span>,
<span class="pname">bz2</span>,
<span class="pname">lzma</span>,
<span class="pname">xz</span>,
<span class="pname">lrzip</span>,
<span class="pname">lzip</span>,
and many kinds of
<span class="pname">exe</span> files, including Microsoft Cabinet archives,
InstallShield archives, and self-extracting <span class="pname">zip</span>
files.

If they have any extra compression, like <span class="pname">tar.bz2</span>
files, <span class="pname">dtrx</span> will take care of that for you,
too.</li>

<li><strong>Keeps everything organized</strong>: <span
class="pname">dtrx</span> will make sure that archives are extracted into
their own dedicated directories.</li>

<li><strong>Sane permissions</strong>: <span class="pname">dtrx</span> makes
sure you can read and write all the files you just extracted, while leaving
the rest of the permissions intact.</li>

<li><strong>Recursive extraction</strong>: <span class="pname">dtrx</span> can
find archives inside the archive and extract those too.</li>

</ul>

<h2>Download</h2>

<p><a href="dtrx-7.1.tar.gz">Download <span class="pname">dtrx</span>
7.1</a>.  The SHA1 checksum for this file
is <tt>05cfe705a04a8b84571b0a5647cd2648720791a4</tt>.  Improvements in this
release include:</p>

<ul>

<li>Support for LZH archives.</li>
<li>Minor bug fixes in handling recursive extraction and empty
  archives.</li>

</ul>

<p>If you would like to try the latest development version—or maybe do some
work on it yourself—you can check out the
project's <a href="http://git-scm.com/">Git</a>
repository.  A
<a href="http://gitorious.org/dtrx">web repository</a> is
available, or you can just run:</p>

<pre>$ git clone git://gitorious.org/dtrx/dtrx.git</pre>

<h2>Requirements</h2>

<p>If you have Python 2.4 or greater, this should work out of the box.  If
you're stuck on Python 2.3, you can use this if you install
the <a href="http://www.lysator.liu.se/~astrand/popen5/">subprocess
module</a>.  You'll need the usual tools for the archive types you want to
extract: for example, if you're extracting <span class="pname">zip</span>
files, you'll need <span class="pname">zipinfo</span>
and <span class="pname">unzip</span>.  See the <tt>INSTALL</tt> file included
with <span class="pname">dtrx</span> for a complete list of necessary
utilities.</p>

<h2>Installation</h2>

<p>You can just put <span class="pname">scripts/dtrx</span> wherever is
convenient for you, but if you want to install the program system-wide, you
can also run the following command as root or equivalent:</p>

<pre>python setup.py install --prefix=/usr/local</pre>

<p>See the included <tt>INSTALL</tt> file for more information.</p>

</body>
</html>