x project is a tool for Unix-like systems that takes all the hassle out of extracting archives.
$ x linux-2.6.10.tar.bz2
That's basically the same thing as:
$ tar -jxf linux-2.6.10.tar.bz2
So why use x?
Here are some key features of "x":
· Handles many archive types: You only need to remember one simple command to extract tar, zip, cpio, deb, and rpm files. If they're compressed, x will take care of that for you, too.
· Keeps everything organized: x will make sure that archives are extracted into their own dedicated directories.
· Sane permissions: x makes sure you can read and write all the files you just extracted, while leaving the rest of the permissions intact.
· Recursive extraction: x can find archives inside the archive and extract those too.
· Python 2.4
You can just put scripts/x wherever is convenient for you, but if you want to install the program system-wide, you can also run:
# python setup.py install
To run x, simply call it with the archive(s) you wish to extract as arguments. For example::
x supports a number of options to mandate specific behavior:
With this option, x will search inside the archives you specify to see if any of the contents are themselves archives, and extract those as well.
Normally, x will avoid extracting into a directory that already exists, and instead try to find an alternative name to use. If this option is listed, x will use the default directory name no matter what.
Extract archive contents into the current directory, instead of their own dedicated directory. This is handy if you have multiple archive files which all need to be extracted into the same directory structure. Note that existing files may be overwritten with this option.
Suppress warning messages. Listing this option twice will cause the x to be silent if at all possible.
Print more information about x's behavior. You can list this option up to three times for more information.
Display basic help.
Display x's version, copyright, and license information.
What's New in This Release:
· This is the first widely usable version.
· It has no known bugs and basic documentation, but has enough features to be useful for daily work.