An archive extraction plugin for fish-shell. Inspired by the oh-my-zsh extract plugin.
Install using fisher:
fisher install shoriminimoe/fish-extractInstall using oh-my-fish:
omf install shoriminimoe/fish-extractManual install:
mkdir -p ~/.config/fish/functions
curl https://raw.githubusercontent.com/shoriminimoe/fish-extract/main/functions/extract.fish >~/.config/fish/functions/extract.fishextract FILE [FILE ...]| Supported | Extension | Description |
|---|---|---|
| ✅ | 7z |
7zip file |
| ✅ | Z |
Z archive (LZW) |
| ✅ | bz2, bz |
Bzip2 file |
| ✅ | gz |
Gzip file |
| ✅ | iso |
Optical Disc Image |
| ✅ | jar |
Java Archive |
| ✅ | lrz |
LRZ archive |
| ✅ | lz4 |
LZ4 archive |
| ✅ | lzma |
LZMA archive |
| ✅ | tar.Z, taz |
Tarball with LZW compression |
| ✅ | tar.bz2, tbz2 |
Tarball with bzip2 compression |
| ✅ | tar.bz, tbz |
Tarball with bzip compression |
| ✅ | tar.gz, tgz |
Tarball with gzip compression |
| ✅ | tar.lrz |
Tarball with lrzip compression |
| ✅ | tar.lz4 |
Tarball with lz4 compression |
| ✅ | tar.lz |
Tarball with lzip compression |
| ✅ | tar.lzo |
Tarball with lzop compression |
| ✅ | tar.xz, txz |
Tarball with lzma2 compression |
| ✅ | tar.lzma, tar.zma, tlz |
Tarball with lzma compression |
| ✅ | tar.zst, tzst |
Tarball with zstd compression |
| ✅ | tar |
Tarball |
| ✅ | xpi |
Mozilla XPI module file |
| ✅ | xz |
LZMA2 archive |
| ✅ | zip |
Zip archive |
| ✅ | zst |
Zstandard file (zstd) |
| ✅ | zz |
ZLIB file |
| ❌ | aar |
Android library file |
| ❌ | apk |
Android app file |
| ❌ | cab |
Microsoft cabinet archive |
| ❌ | cpio |
Cpio archive |
| ❌ | deb |
Debian package |
| ❌ | ear |
Enterprise Application aRchive |
| ❌ | ipa |
iOS app package |
| ❌ | ipsw |
iOS firmware file |
| ❌ | rar |
WinRAR archive |
| ❌ | rpm |
RPM package |
| ❌ | sublime-package |
Sublime Text package |
| ❌ | war |
Web Application archive (Java-based) |