mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-03-03 18:00:18 +00:00
1.8 KiB
1.8 KiB
title, homepage, tagline
| title | homepage | tagline |
|---|---|---|
| Archiver (arc) | https://github.com/mholt/archiver | Arc is a cross-platform, multi-format archive utility. |
Updating arc
webi arc@stable
Use the @beta tag for pre-releases.
Cheat Sheet
Archiver (
arc) is a powerful and flexible library meets an elegant CLI in this generic replacement for several platform-specific or format-specific archive utilities.
Much like MacOS Finder and Windows Explorer, the default behavior of arc is to
create a top-level directory if one does not exist.
List
# arc ls <archive file>
arc ls example.zip
Unarchive (whole)
# arc unarchive <archive file>
arc unarchive example.zip
Extract (partial)
# arc extract <archive file> <archived path> <extracted path>
arc extract example.zip example/foo ~/Downloads/foo
Archive (recursive)
# arc archive <archive file> <files or folders ...>
arc archive example.zip ./README.md ./bin ./src
Compress (single file)
# arc compress <single file> <format>
arc compress ./example.tar xz
Decompress (single file)
# arc decompress <archive file>
arc decompress ./example.tar.xz
Supported extensions
| format | packaged | raw compressed |
|---|---|---|
| RAR | .rar | - |
| - | .tar | - |
| brotli | .tar.br, .tbr | .br |
| gzip | .tar.gz, .tgz | .gz |
| bzip2 | .tar.bz2, .tbz2 | .bz2 |
| xz | .tar.xz, .txz | .xz |
| lzma | .tar.lz4, .tlz4 | .lz4 |
| snappy | .tar.sz, .tsz | .lsz |
| zstd | .tar.zst | .zst |
| ZIP | .zip | - |