mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 19:45:29 +00:00
readme: add notes about supported formats
Notes state that some formats are compressed in parallel, and some doesn't support (de)compression streaming.
This commit is contained in:
parent
30bf657e5e
commit
841ec4dc6e
16
README.md
16
README.md
@ -106,15 +106,21 @@ Output:
|
|||||||
|
|
||||||
| Format | `.tar` | `.zip` | `.gz` | `.xz`, `.lzma` | `.bz`, `.bz2` | `.lz4` | `.sz` | `.zst` |
|
| Format | `.tar` | `.zip` | `.gz` | `.xz`, `.lzma` | `.bz`, `.bz2` | `.lz4` | `.sz` | `.zst` |
|
||||||
|:---------:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
|:---------:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
||||||
| Supported | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Supported | ✓ | ✓¹ | ✓² | ✓ | ✓ | ✓ | ✓² | ✓ |
|
||||||
|
|
||||||
And the aliases: `tgz`, `tbz`, `tbz2`, `tlz4`, `txz`, `tlzma`, `tsz`, `tzst`.
|
✓: Supports compression and decompression.
|
||||||
|
✓¹: Due to limitations of `.zip`, it doesn't support streaming (de)compression.
|
||||||
|
✓²: Supported, and compression runs in parallel.
|
||||||
|
|
||||||
|
`tar` aliases are also supported: `tgz`, `tbz`, `tbz2`, `tlz4`, `txz`, `tlzma`, `tsz`, `tzst`.
|
||||||
|
|
||||||
Formats can be chained:
|
Formats can be chained:
|
||||||
|
|
||||||
- `.tar.gz`
|
- `.zst.gz`
|
||||||
- `.tar.gz.gz.gz.gz`
|
- `.tar.gz.gz`
|
||||||
- `.tar.gz.gz.gz.gz.zst.xz.bz.lz4`
|
- `.tar.gz.gz.gz.zst.xz.bz.lz4`
|
||||||
|
|
||||||
|
If the filename has no extensions, `Ouch` will try to infer the format by the [file signature](https://en.wikipedia.org/wiki/List_of_file_signatures).
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user