Go to file
Bastian Kleineidam 293cb63145 Bump up version and update author email. 2013-02-22 18:33:08 +01:00
doc Updated release date. 2013-02-21 18:57:48 +01:00
patoolib Documentation updates. 2013-02-21 17:52:51 +01:00
scripts Move .bat files to scripts folder. 2012-12-14 07:17:39 +01:00
tests Remove .gitignore from deb package. 2013-02-22 18:31:33 +01:00
.gitattributes Do not export travis.yml file. 2013-02-21 18:57:42 +01:00
.gitignore Ignore __pycache__ dir. 2012-12-07 22:38:44 +01:00
.travis.yml Fix packages. 2013-02-21 20:53:28 +01:00
COPYING Initial commit 2010-02-21 12:14:57 +01:00
MANIFEST.in Replace with github links. 2012-12-14 22:04:48 +01:00
Makefile Remove .gitignore from deb package. 2013-02-22 18:31:33 +01:00
README.md Add readme 2012-12-13 21:34:57 +01:00
install-rpm.sh Fix RPM installation. 2012-04-11 18:21:22 +02:00
patool Add Python3 support. 2012-11-19 20:58:42 +01:00
patool.bash-completion Added repack command 2010-03-12 12:54:17 +01:00
patool.freecode Updated freecode info. 2013-02-21 17:53:00 +01:00
requirements.txt Add travis CI info. 2013-02-21 17:53:16 +01:00
setup.cfg Bump up version and update author email. 2013-02-22 18:33:08 +01:00
setup.py Bump up version and update author email. 2013-02-22 18:33:08 +01:00

README.md

Patool

Various archive types can be created, extracted, tested and listed with patool. The advantage of patool is its simplicity in 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), APE (.ape), AR (.a), ARC (.arc), ARJ (.arj), BZIP2 (.bz2), CAB (.cab), compress (.Z), CPIO (.cpio), DEB (.deb), DMS (.dms), FLAC (.flac), GZIP (.gz), 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 ZOO (.zoo) formats. It relies on helper applications to handle those archive formats (for example bzip2 for BZIP2 archives).

The archive formats TAR (.tar), ZIP (.zip), BZIP2 (.bz2) and GZIP (.gz) are supported natively and do not require helper applications to be installed.

Examples

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
patool repack linux-2.6.33.tar.gz linux-2.6.33.tar.bz2

Website

See http://wummel.github.com/patool/ for more info and downloads.