11 In addition to providing one command to handle many different archive |
11 In addition to providing one command to handle many different archive |
12 types, dtrx also aids the user by extracting contents consistently. By |
12 types, dtrx also aids the user by extracting contents consistently. By |
13 default, everything will be written to a dedicated directory that's named |
13 default, everything will be written to a dedicated directory that's named |
14 after the archive. dtrx will also change the permissions to ensure that the |
14 after the archive. dtrx will also change the permissions to ensure that the |
15 owner can read and write all those files. |
15 owner can read and write all those files. |
16 |
|
17 Requirements |
|
18 ------------ |
|
19 |
|
20 If you have Python 2.4, this should work out of the box. If you're stuck |
|
21 on Python 2.3, you can use this if you install the `subprocess module`_. |
|
22 You'll need the usual tools for the archive types you want to extract: for |
|
23 example, if you're extracting zip files, you'll need zipinfo and unzip. |
|
24 |
|
25 .. _`subprocess module`: http://www.lysator.liu.se/~astrand/popen5/ |
|
26 |
|
27 Installation |
|
28 ------------ |
|
29 |
|
30 You can just put scripts/dtrx wherever is convenient for you, but if you |
|
31 want to install the program system-wide, you can also run:: |
|
32 |
|
33 # python setup.py install |
|
34 |
16 |
35 Running dtrx |
17 Running dtrx |
36 ------------ |
18 ------------ |
37 |
19 |
38 To run dtrx, simply call it with the archive(s) you wish to extract as |
20 To run dtrx, simply call it with the archive(s) you wish to extract as |
91 dtrx 5.0 is copyright (c) 2006, 2007 `Brett Smith`_. Feel free to send |
73 dtrx 5.0 is copyright (c) 2006, 2007 `Brett Smith`_. Feel free to send |
92 comments, bug reports, patches, and so on. You can find the latest version |
74 comments, bug reports, patches, and so on. You can find the latest version |
93 of dtrx on `its home page`_. |
75 of dtrx on `its home page`_. |
94 |
76 |
95 .. _`Brett Smith`: mailto:brettcsmith@brettcsmith.org |
77 .. _`Brett Smith`: mailto:brettcsmith@brettcsmith.org |
96 .. _`its home page`: http://www.brettcsmith.org/2006/x/ |
78 .. _`its home page`: http://www.brettcsmith.org/2007/dtrx/ |
97 |
79 |
98 dtrx is free software; you can redistribute it and/or modify it under the |
80 dtrx is free software; you can redistribute it and/or modify it under the |
99 terms of the GNU General Public License as published by the Free Software |
81 terms of the GNU General Public License as published by the Free Software |
100 Foundation; either version 3 of the License, or (at your option) any later |
82 Foundation; either version 3 of the License, or (at your option) any later |
101 version. |
83 version. |
104 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
86 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
105 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
87 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
106 more details. |
88 more details. |
107 |
89 |
108 You should have received a copy of the GNU General Public License along |
90 You should have received a copy of the GNU General Public License along |
109 with this program; if not, write to the Free Software Foundation, Inc., 51 |
91 with this program; if not, see <http://www.gnu.org/licenses/>. |
110 Franklin Street, 5th Floor, Boston, MA, 02111. |
|