2012-12-13 20:34:57 +00:00
|
|
|
Patool
|
|
|
|
=======
|
|
|
|
|
2013-02-26 19:42:05 +00:00
|
|
|
Patool is an archive file manager for the commandline console.
|
|
|
|
|
|
|
|
Various archive formats can be created, extracted, tested, listed,
|
|
|
|
searched, repacked and compared with patool. The advantage of patool is its simplicity in
|
2012-12-13 20:34:57 +00:00
|
|
|
handling archive files without having to remember a myriad of
|
|
|
|
programs and options.
|
|
|
|
|
|
|
|
The archive format is determined by the file(1) program and as
|
|
|
|
a fallback by the archive file extension.
|
|
|
|
|
|
|
|
patool supports 7z (.7z), ACE (.ace), ADF (.adf), ALZIP (.alz),
|
2013-02-27 18:38:07 +00:00
|
|
|
APE (.ape), AR (.a), ARC (.arc), ARJ (.arj), BZIP2 (.bz2),
|
2013-03-12 06:32:59 +00:00
|
|
|
CAB (.cab), COMPRESS (.Z), CPIO (.cpio), DEB (.deb), DMS (.dms),
|
2013-02-27 18:38:07 +00:00
|
|
|
FLAC (.flac), GZIP (.gz), ISO (.iso), LRZIP (.lrz), LZH (.lha, .lzh),
|
|
|
|
LZIP (.lz), LZMA (.lzma), LZOP (.lzo), RPM (.rpm), RAR (.rar),
|
|
|
|
RZIP (.rz), SHN (.shn), TAR (.tar), XZ (.xz), ZIP (.zip, .jar) and
|
2012-12-13 20:34:57 +00:00
|
|
|
ZOO (.zoo) formats. It relies on helper applications to handle
|
|
|
|
those archive formats (for example bzip2 for BZIP2 archives).
|
|
|
|
|
2013-03-12 06:32:59 +00:00
|
|
|
The archive formats TAR, ZIP, BZIP2 and GZIP
|
|
|
|
are supported natively and do not require helper
|
2012-12-13 20:34:57 +00:00
|
|
|
applications to be installed.
|
|
|
|
|
|
|
|
Examples
|
2012-12-13 20:36:58 +00:00
|
|
|
---------
|
2012-12-13 20:34:57 +00:00
|
|
|
```
|
|
|
|
patool extract archive.zip otherarchive.rar
|
|
|
|
patool test --verbose dist.tar.gz
|
|
|
|
patool list package.deb
|
|
|
|
patool create --verbose myfiles.zip file1.txt dir/
|
|
|
|
patool diff release1.0.tar.gz release2.0.zip
|
2013-02-23 18:38:23 +00:00
|
|
|
patool search "def urlopen" python-3.3.tar.gz
|
2012-12-13 20:34:57 +00:00
|
|
|
patool repack linux-2.6.33.tar.gz linux-2.6.33.tar.bz2
|
|
|
|
```
|
2012-12-14 21:04:48 +00:00
|
|
|
|
|
|
|
Website
|
|
|
|
--------
|
|
|
|
See http://wummel.github.com/patool/ for more info and downloads.
|
|
|
|
|
2013-02-23 15:19:29 +00:00
|
|
|
Test suite status
|
|
|
|
------------------
|
|
|
|
Patool has extensive unit tests to ensure the code quality.
|
|
|
|
[Travis CI](https://travis-ci.org/) is used for continuous build
|
|
|
|
and test integration.
|
|
|
|
|
|
|
|
[![Build Status](https://travis-ci.org/wummel/patool.png)](https://travis-ci.org/wummel/patool)
|