https://github.com/romkatv/archive
Command line tools to create, list, and extract archives
https://github.com/romkatv/archive
Last synced: about 2 months ago
JSON representation
Command line tools to create, list, and extract archives
- Host: GitHub
- URL: https://github.com/romkatv/archive
- Owner: romkatv
- License: mit
- Created: 2019-12-03T10:40:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-06T11:31:39.000Z (about 4 years ago)
- Last Synced: 2025-02-02T04:23:56.210Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 1.86 MB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- stars - romkatv/archive - Command line tools to create, list, and extract archives (Shell)
README
Archive
=======Create, list, and extract archives.
Commands
---------- `archive` creates an archive based on the provided archive name.
- `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` (optionally `pigz`).
- *.tar.bz2*, *.tbz* require `tar` (optionally `pbzip2`).
- *.tar.xz*, *.txz* require `tar` with *xz* support.
- *.tar.zst* requires `tar` with *zstd* support.
- *.tar.lzma*, *.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*, *.jar* requires `unzip`.
- *.rar* requires `rar` (needed for `archive` support), `unrar` or `lsar` and `unar`.
- *.7z* requires `7za`.
- *.deb* requires `ar`, `tar`.Additionally, if `pigz` and/or `pbzip2` are installed, `archive` will use them
over their traditional counterparts, `gzip` and `bzip2` respectively, to take
full advantage of all available CPU cores for compression.Provenance
-------Forked from
[prezto](https://github.com/sorin-ionescu/prezto/tree/2d6205e71404704eecc4f402e5b09d7cbd19bab7).