mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-01 07:21:12 +00:00
3e8349ddde
unrar and rar will discard everything up to the file name when extracting with `e`. This breaks extraction of archives that have files with duplicate file names and ones where the paths are important. The `x` command extracts with the full path instead. |
||
---|---|---|
.. | ||
functions | ||
README.md |
Archive
Provides functions to list and extract archives.
Functions
lsarchive
lists the contents of one or more archives.unarchive
extracts the contents of one or more archives.
Supported Formats
The following archive formats are supported when the required utilities are installed:
- .tar.gz, .tgz require
tar
. - .tar.bz2, .tbz require
tar
. - .tar.xz, .txz require
tar
with xz support. - .tar.zma, .tlz require
tar
with lzma support. - .tar requires
tar
. - .gz requires
gunzip
. - .bz2 requires
bunzip2
. - .xz requires
unxz
. - .lzma requires
unlzma
. - .Z requires
uncompress
. - .zip requires
unzip
. - .rar requires
unrar
orrar
. - .7z requires
7za
. - .deb requires
ar
,tar
.
Authors
The authors of this module should be contacted via the issue tracker.