Skip to main content


Project description

$ unp_

unp is a command line tool that can unpack archives easily. It
mainly acts as a wrapper around other shell tools that you can
find on various POSIX systems.

It figures out how to invoke an unpacker to achieve the desired
result. In addition to that it will safely unpack files when an
archive contains more than one top level item. In those cases it
will wrap the resulting file in a folder so that your working
directory does not get messed up.

All you have to do:

$ unp myarchive.tar.gz

To install you can use pipsi:

$ pipsi install unp

Supports the following archives:

- 7zip Archives (*.7z)
- Apple Disk Image (*.dmg; *.sparseimage)
- Bz2 Compressed Files (*.bz2)
- Bz2 Compressed Tarballs (*.tar.bz2)
- Gzip Compressed Files (*.gz)
- Gzip Compressed Tarballs (*.tar.gz; *.tgz)
- Uncompressed Tarballs (*.tar)
- WinRAR Archives (*.rar)
- Zip Archives (*.zip; *.egg; *.whl; *.jar)

DMG is only supported on OS X where it invokes the hdiutil and
copies out the contents.

Project details

Release history Release notifications

History Node


This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
unp-0.2-py2-none-any.whl (6.3 kB) Copy SHA256 hash SHA256 Wheel 2.7 Aug 23, 2014
unp-0.2.tar.gz (5.5 kB) Copy SHA256 hash SHA256 Source None Aug 23, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page