Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mitsuhiko/unbox
A work in progress command line utility to unpack various types of archives quickly.
https://github.com/mitsuhiko/unbox
Last synced: 7 days ago
JSON representation
A work in progress command line utility to unpack various types of archives quickly.
- Host: GitHub
- URL: https://github.com/mitsuhiko/unbox
- Owner: mitsuhiko
- Created: 2018-12-26T01:11:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-02T08:43:52.000Z (about 4 years ago)
- Last Synced: 2024-12-20T09:05:47.369Z (14 days ago)
- Language: Rust
- Homepage:
- Size: 295 KB
- Stars: 142
- Watchers: 8
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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 filesNote on cabinet files: this uses the [cab](https://crates.io/crates/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](https://github.com/mitsuhiko/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.