unbox

Crates.iounbox
lib.rsunbox
version0.2.0
sourcesrc
created_at2018-12-26 20:40:30.377213
updated_at2018-12-27 00:25:09.169966
descriptionCommand line utility that unpacks archives.
homepagehttps://github.com/mitsuhiko/unbox
repositoryhttps://github.com/mitsuhiko/unbox
max_upload_size
id103945
size404,536
Armin Ronacher (mitsuhiko)

documentation

https://github.com/mitsuhiko/unbox

README

unbox

A work in progress command line utility to unpack various types of archives quickly.

unbox /path/to/my/archive.zip

Installation

cargo install unbox

Supported Formats

  • unix ar archives
  • microsoft cabinet
  • portable executable containing microsoft cabinet
  • zip archives
  • uncompressed tarballs
  • gzip-compressed tarballs
  • xz-compressed tarballs
  • bzip2-compressed tarballs
  • gzip-compressed files
  • xz-compressed files
  • bzip2-compressed files

Note on cabinet files: this uses the cab Rust library which currently only supports deflate cabs. This means it's unable to extract cabs which use the LZX or Quantum compression formats.

FAQ

Why do this?

No specific reason. I used to have a Python tool called unp which just shells out to system tools to unpack and I felt like I want to see if I can use the rust ecosystem to build one that comes with the unpacking code.

How fast is it?

It's not particularly fast. In fact it's about 50% slower than the system tools but for most archives I unpack that does not cause me any grief.

Commit count: 26

cargo fmt