You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sebastian Wiesner
2f98860968
|
13 years ago | |
---|---|---|
.. | ||
functions | 13 years ago | |
README.md | 13 years ago |
README.md
Archive
Provides functions to inspect and extract various archive files.
Functions
ls-archive
ls-archive
inspects one or more archive files:
ls-archive [-v] [file ...]
Options:
-v
,--verbose
: List archives verbosely
extract
extract
extracts the contents of one or more archive files into the current
directory:
extract [-r] [file ...]
Options:
-r
,--remove
: Remove the archive file after extraction
Supported archive formats
Both functions support the following archive formats, if the corresponding utilities are available:
.tar.gz
,.tgz
(needstar
andgunzip
).tar.gz2
,.tbz
(needstar
andbunzip2
).tar.zma
,.tlz
(needstar
andunlzma
).tar
(needstar
).gz
(needsgunzip
).bz2
(needsbunzip2
).xz
(needsunxz
).lzma (needs
unlzma`).Z
(needsuncompress
).zip
(needsunzip
).rar
(needsunrar
).7z
(needs7za
).deb
(needsar
,tar
andgunzip
)
Authors
The authors of this module should be contacted via the issue tracker.