This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

uz extracts files of all sorts

Project Description

Uz is a small tools to unpack files.

$ uz -v sample.tar.xz
sample_data/
sample_data/bar

It does not infer file-types from file endings but analyzes headers instead:

$ mv sample.tar.xz nothing-in-the-filename
$ uz -l nothing-in-the-filename
sample_data/
sample_data/bar

It also does the right thing in weird cases:

$ uz -A sample.tar.xz.bz2.gz.xz.gz.bz2
sample.tar.xz.bz2.gz.xz.gz.bz2: BZip <- gzip <- xz <- gzip <- BZip <- xz <- tarfile
cmd: bunzip2 --stdout | gunzip --to-stdout | xz --decompress --stdout | gunzip --to-stdout | bunzip2 --stdout | tar --extract --xz
$ uz sample.tar.xz.bz2.gz.xz.gz.bz2
$ ls
sample_data  sample.tar.xz.bz2.gz.xz.gz.bz2

Supported fileformats

It’s fairly easy to add another archive or compression format to uz; right now it supports .bz2, .gz, .xz and .7z, .rar, .tar, .zip, – as well as all combinations of those.

More formats are added as soon as the author runs into a file he needs to extract or via pull request.

Release History

Release History

This version
History Node

0.2

History Node

0.1

History Node

0.1dev

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
uz-0.2.tar.gz (6.1 kB) Copy SHA256 Checksum SHA256 Source Jun 9, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting