58 <span class="pname">rpm</span>, |
58 <span class="pname">rpm</span>, |
59 <span class="pname">gem</span>, |
59 <span class="pname">gem</span>, |
60 <span class="pname">7z</span>, |
60 <span class="pname">7z</span>, |
61 <span class="pname">cab</span>, |
61 <span class="pname">cab</span>, |
62 <span class="pname">gz</span>, |
62 <span class="pname">gz</span>, |
63 <span class="pname">bz2</span>, and |
63 <span class="pname">bz2</span>, |
64 <span class="pname">lzma</span> files. |
64 <span class="pname">lzma</span>, and many kinds of |
|
65 <span class="pname">exe</span> files, including Microsoft Cabinet archives, |
|
66 InstallShield archives, and self-extracting <span class="pname">zip</span> |
|
67 files. |
65 |
68 |
66 If they have any extra compression, like <span |
69 If they have any extra compression, like <span |
67 class="pname">tar.bz2</span>, <span class="pname">dtrx</span> will take |
70 class="pname">tar.bz2</span>, <span class="pname">dtrx</span> will take |
68 care of that for you, too.</li> |
71 care of that for you, too.</li> |
69 |
72 |
80 |
83 |
81 </ul> |
84 </ul> |
82 |
85 |
83 <h2>Download</h2> |
86 <h2>Download</h2> |
84 |
87 |
85 <p><a href="dtrx-6.0.tar.gz">Download <span class="pname">dtrx</span> |
88 <p><a href="dtrx-6.1.tar.gz">Download <span class="pname">dtrx</span> |
86 6.0</a>. The SHA1 checksum for this file |
89 6.1</a>. The SHA1 checksum for this file |
87 is <tt>dbe0211c90d6d03035f612fe31f96c825aa75274</tt>. New features in this |
90 is <tt>2cd7c5e1ca2e83a942e5af58dceb0700063ce03d</tt>. New features in this |
88 release include:</p> |
91 release include:</p> |
89 |
92 |
90 <ul> |
93 <ul> |
91 |
94 |
92 <li>When you specify <tt>-v</tt> at the command |
95 <li>Add support for InstallShield archives, using |
93 line, <span class="pname">dtrx</span> will display the files it |
96 the <span class="pname">unshield</span> command.</li> |
94 extracts, much like <span class="pname">tar</span>.</li> |
97 <li>The wording of many of the interactive prompts has been adjusted |
95 |
98 to be clearer and provide more information to the user |
96 <li>When <span class="pname">dtrx</span> prompts you about how to handle |
99 immediately.</li> |
97 recursive archives, you now have the option of listing what those |
100 <li><span class="pname">dtrx</span> 6.1 does a better job protecting |
98 archives before making a decision.</li> |
101 against race conditions when extracting a single file.</li> |
99 |
102 <li>If you used the -f option, and extracted an archive that only contained |
100 <li><span class="pname">dtrx</span> will now provide more information about |
103 one file or directory, <span class="pname">dtrx</span> 6.0 would still |
101 why a particular extraction attempt failed. It will show you error |
104 prompt you to ask how it should be |
102 messages from all the attempts it made, rather than only the last error |
105 extracted. <span class="pname">dtrx</span> 6.1 fixes this, extracting the |
103 it got. It will also detect and warn you when one of the underlying |
106 contents to the current directory as -f requires.</li> |
104 extraction tools, like <span class="pname">cabextract</span>, cannot be |
107 <li>Recursive extraction would not work well |
105 found.</li> |
108 in <span class="pname">dtrx</span> 6.0 when the contents of the original |
106 |
109 archive were a single file. This has been fixed |
107 <li><span class="pname">dtrx</span> does a better job of cleaning up after |
110 in <span class="pname">dtrx</span> 6.1.</li> |
108 itself. It wouldn't always clean up temporary files after certain |
|
109 errors; that has been fixed. It also catches SIGINT and SIGTERM and |
|
110 cleans up before finishing execution.</li> |
|
111 |
|
112 <li>Version 5.0 introduced a regression such |
|
113 that <span class="pname">dtrx</span> would not offer to extract |
|
114 recursive archives that were hidden under subdirectories. Version 6.0 |
|
115 fixes that.</li> |
|
116 |
111 |
117 </ul> |
112 </ul> |
118 |
113 |
119 <p>If you would like to try the latest development version—or maybe do some |
114 <p>If you would like to try the latest development version—or maybe do some |
120 development on it—you can check out the project's <a |
115 work on it yourself—you can check out the |
121 href="http://www.selenic.com/mercurial/wiki/">Mercurial</a> repository. A |
116 project's <a href="http://www.selenic.com/mercurial/wiki/">Mercurial</a> |
|
117 repository. A |
122 <a href="http://www.brettcsmith.org/2007/dtrx/dtrx/">web repository</a> is |
118 <a href="http://www.brettcsmith.org/2007/dtrx/dtrx/">web repository</a> is |
123 available, or you can just run:</p> |
119 available, or you can just run:</p> |
124 |
120 |
125 <pre>$ hg clone http://www.brettcsmith.org/2007/dtrx/dtrx</pre> |
121 <pre>$ hg clone http://www.brettcsmith.org/2007/dtrx/dtrx</pre> |
126 |
122 |
127 <h2>Requirements</h2> |
123 <h2>Requirements</h2> |
128 |
124 |
129 <p>If you have Python 2.4 or greater, this should work out of the box. If |
125 <p>If you have Python 2.4 or greater, this should work out of the box. If |
130 you're stuck on Python 2.3, you can use this if you install the <a |
126 you're stuck on Python 2.3, you can use this if you install |
131 href="http://www.lysator.liu.se/~astrand/popen5/">subprocess module</a>. |
127 the <a href="http://www.lysator.liu.se/~astrand/popen5/">subprocess |
132 You'll need the usual tools for the archive types you want to extract: for |
128 module</a>. You'll need the usual tools for the archive types you want to |
133 example, if you're extracting <span class="pname">zip</span> files, you'll |
129 extract: for example, if you're extracting <span class="pname">zip</span> |
134 need <span class="pname">zipinfo</span> and <span |
130 files, you'll need <span class="pname">zipinfo</span> |
135 class="pname">unzip</span>.</p> |
131 and <span class="pname">unzip</span>. See the INSTALL file included |
|
132 with <span class="pname">dtrx</span> for a complete list of necessary |
|
133 utilities.</p> |
136 |
134 |
137 <h2>Installation</h2> |
135 <h2>Installation</h2> |
138 |
136 |
139 <p>You can just put <span class="pname">scripts/dtrx</span> wherever is |
137 <p>You can just put <span class="pname">scripts/dtrx</span> wherever is |
140 convenient for you, but if you want to install the program system-wide, you |
138 convenient for you, but if you want to install the program system-wide, you |