]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/extract/README.md
initial
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / extract / README.md
1 # extract plugin
2
3 This plugin defines a function called `extract` that extracts the archive file
4 you pass it, and it supports a wide variety of archive filetypes.
5
6 This way you don't have to know what specific command extracts a file, you just
7 do `extract <filename>` and the function takes care of the rest.
8
9 To use it, add `extract` to the plugins array in your zshrc file:
10
11 ```zsh
12 plugins=(... extract)
13 ```
14
15 ## Supported file extensions
16
17 | Extension         | Description                          |
18 |:------------------|:-------------------------------------|
19 | `7z`              | 7zip file                            |
20 | `Z`               | Z archive (LZW)                      |
21 | `apk`             | Android app file                     |
22 | `aar`             | Android library file                 |
23 | `bz2`             | Bzip2 file                           |
24 | `cab`             | Microsoft cabinet archive            |
25 | `cpio`            | Cpio archive                         |
26 | `deb`             | Debian package                       |
27 | `ear`             | Enterprise Application aRchive       |
28 | `gz`              | Gzip file                            |
29 | `ipa`             | iOS app package                      |
30 | `ipsw`            | iOS firmware file                    |
31 | `jar`             | Java Archive                         |
32 | `lrz`             | LRZ archive                          |
33 | `lz4`             | LZ4 archive                          |
34 | `lzma`            | LZMA archive                         |
35 | `rar`             | WinRAR archive                       |
36 | `rpm`             | RPM package                          |
37 | `sublime-package` | Sublime Text package                 |
38 | `tar`             | Tarball                              |
39 | `tar.bz2`         | Tarball with bzip2 compression       |
40 | `tar.gz`          | Tarball with gzip compression        |
41 | `tar.lrz`         | Tarball with lrzip compression       |
42 | `tar.lz`          | Tarball with lzip compression        |
43 | `tar.lz4`         | Tarball with lz4 compression         |
44 | `tar.xz`          | Tarball with lzma2 compression       |
45 | `tar.zma`         | Tarball with lzma compression        |
46 | `tar.zst`         | Tarball with zstd compression        |
47 | `tbz`             | Tarball with bzip compression        |
48 | `tbz2`            | Tarball with bzip2 compression       |
49 | `tgz`             | Tarball with gzip compression        |
50 | `tlz`             | Tarball with lzma compression        |
51 | `txz`             | Tarball with lzma2 compression       |
52 | `tzst`            | Tarball with zstd compression        |
53 | `war`             | Web Application archive (Java-based) |
54 | `xpi`             | Mozilla XPI module file              |
55 | `xz`              | LZMA2 archive                        |
56 | `zip`             | Zip archive                          |
57 | `zst`             | Zstandard file (zstd)                |
58
59 See [list of archive formats](https://en.wikipedia.org/wiki/List_of_archive_formats) for
60 more information regarding archive formats.