1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-01 07:21:12 +00:00
prezto/modules/archive
lucy 3e8349ddde Use the x command for unrar and rar to preserve paths
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.
2014-10-05 21:14:01 -04:00
..
functions Use the x command for unrar and rar to preserve paths 2014-10-05 21:14:01 -04:00
README.md Rename archive module functions 2013-05-25 14:42:43 -04:00

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 or rar.
  • .7z requires 7za.
  • .deb requires ar, tar.

Authors

The authors of this module should be contacted via the issue tracker.