README

Tue, 02 Jan 2007 20:30:17 -0500

author
brett
date
Tue, 02 Jan 2007 20:30:17 -0500
branch
trunk
changeset 18
1600807a32bd
child 19
bb6e9f4af1a5
permissions
-rw-r--r--

[svn] Add basic documentation, and make this version 3.0.

18
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
1 x - Intelligent archive extraction
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
2 ==================================
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
3
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
4 Introduction
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
5 ------------
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
6
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
7 x extracts archives in a number of different formats; it currently supports
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
8 tar, zip, cpio, rpm, and deb. It can also decompress files compressed with
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
9 gzip, bzip2, or compress.
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
10
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
11 In addition to providing one command to handle many different archive
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
12 types, x also aids the user by extracting contents consistently. By
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
13 default, everything will be written to a dedicated directory that's named
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
14 after the archive. x will also change the permissions to ensure that the
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
15 owner can read and write all those files.
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
16
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
17 Running x
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
18 ---------
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
19
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
20 To run x, simply call it with the archive(s) you wish to extract as
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
21 arguments. For example::
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
22
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
23 x coreutils-5.*.tar.gz
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
24
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
25 x supports a number of options to mandate specific behavior:
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
26
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
27 -r, --recursive
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
28 With this option, x will search inside the archives you specify to see
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
29 if any of the contents are themselves archives, and extract those as
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
30 well.
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
31
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
32 -o, --overwrite
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
33 Normally, x will avoid extracting into a directory that already exists,
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
34 and instead try to find an alternative name to use. If this option is
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
35 listed, x will use the default directory name no matter what.
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
36
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
37 -f, --flat
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
38 Extract archive contents into the current directory, instead of their
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
39 own dedicated directory. This is handy if you have multiple archive
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
40 files which all need to be extracted into the same directory structure.
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
41 Note that existing files may be overwritten with this option.
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
42
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
43 -q, --quiet
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
44 Suppress warning messages. Listing this option twice will cause the
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
45 x to be silent if at all possible.
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
46
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
47 -v, --verbose
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
48 Print more information about x's behavior. You can list this option up
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
49 to three times for more information.
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
50
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
51 --help
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
52 Display basic help.
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
53
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
54 --version
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
55 Display x's version, copyright, and license information.
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
56
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
57 Other Useful Information
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
58 ------------------------
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
59
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
60 x 3.0 is copyright (c) 2006 `Brett Smith`_. Feel free to send comments,
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
61 bug reports, patches, and so on. You can find the latest version of x on
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
62 `its home page`_.
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
63
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
64 .. _`Brett Smith`: mailto:brettcsmith@brettcsmith.org
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
65 .. _`its home page`: http://www.brettcsmith.org/2006/x/
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
66
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
67 x is free software; you can redistribute it and/or modify it under the
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
68 terms of the GNU General Public License as published by the Free Software
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
69 Foundation; either version 2 of the License, or (at your option) any later
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
70 version.
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
71
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
72 This program is distributed in the hope that it will be useful, but WITHOUT
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
73 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
74 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
75 more details.
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
76
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
77 You should have received a copy of the GNU General Public License along
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
78 with this program; if not, write to the Free Software Foundation, Inc., 51
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents:
diff changeset
79 Franklin Street, 5th Floor, Boston, MA, 02111.

mercurial