Helps you extract archives and list their contents.
It's supposed to be a helpful and also educational tool. Suggests the simplest command for the appropriate archive format, while also being non-destructive by default (does not overwrite existing files, does not delete the archive after extraction, etc).
Supported archive and compression formats:
| File extenstion | Tools |
|---|---|
.tar, .tar.*, .tgz, .tbz, .txz, .tlz, .tzo |
tar, bsdtar, 7z |
.zip |
unzip (zipinfo), bsdtar, 7z |
.rar |
unrar, bsdtar, 7z |
.7z |
7z, bsdtar |
.arj |
unarj², 7z |
.bz2³, .bz³ |
bzip2 (bunzip2, bzcat), 7z |
.cpio |
cpio, bsdtar, 7z |
.deb |
dpkg-deb¹ |
.gz |
gzip (gunzip2, zcat), 7z |
.lha |
lha¹, lhasa¹, bsdtar, 7z |
.lrz³ |
lrzip (lrunzip, lrzcat) |
.lz³ |
lzip, 7z |
.lz4³ |
lz4 (unlz4), 7z |
.lzma³ |
xz (unlzma, lzcat), 7z |
.lzo |
lzop¹ |
.xz³ |
xz (unxz, xzcat), 7z |
.zst³ |
zstd (unzstd), 7z |
.exe (PE) |
7z |
.Z³ |
uncompress, 7z |
.pax |
TODO |
.hrx |
TODO |
| Others (fallback) | bsdtar, 7z |
Notes:
- Tool with limited support.
- Tool with very limited support.
- Single-file compression format. Sometimes these compression formats can store a filename, sometimes they don't (in which case the
listcommand is useless).
