mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 11:35:45 +00:00
Mention Rar support in README and help
This commit is contained in:
parent
e2796cef78
commit
4314a3bbdd
17
README.md
17
README.md
@ -111,25 +111,26 @@ Output:
|
|||||||
|
|
||||||
# Supported formats
|
# Supported formats
|
||||||
|
|
||||||
| Format | `.tar` | `.zip` | `7z` | `.gz` | `.xz`, `.lzma` | `.bz`, `.bz2` | `.lz4` | `.sz` (Snappy) | `.zst` |
|
| Format | `.tar` | `.zip` | `7z` | `.gz` | `.xz`, `.lzma` | `.bz`, `.bz2` | `.lz4` | `.sz` (Snappy) | `.zst` | `.rar` |
|
||||||
|:---------:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
|:---------:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
||||||
| Supported | ✓ | ✓¹ | ✓ | ✓² | ✓ | ✓ | ✓ | ✓² | ✓ |
|
| Supported | ✓ | ✓¹ | ✓¹ | ✓² | ✓ | ✓ | ✓ | ✓² | ✓ | ✓³ |
|
||||||
|
|
||||||
✓: Supports compression and decompression.
|
✓: Supports compression and decompression.
|
||||||
|
|
||||||
✓¹: Due to limitations of `.zip`, it doesn't support streaming (de)compression.
|
✓¹: Due to limitations of the compression format itself, (de)compression can't be done with streaming.
|
||||||
|
|
||||||
✓²: Supported, and compression runs in parallel.
|
✓²: Supported, and compression runs in parallel.
|
||||||
|
|
||||||
|
✓³: Due to Rar's restrictive license, only decompression and listing can be supported.
|
||||||
|
|
||||||
`tar` aliases are also supported: `tgz`, `tbz`, `tbz2`, `tlz4`, `txz`, `tlzma`, `tsz`, `tzst`.
|
`tar` aliases are also supported: `tgz`, `tbz`, `tbz2`, `tlz4`, `txz`, `tlzma`, `tsz`, `tzst`.
|
||||||
|
|
||||||
Formats can be chained:
|
Formats can be chained:
|
||||||
|
|
||||||
- `.zst.gz`
|
- `.tar.gz`
|
||||||
- `.tar.gz.gz`
|
- `.tar.gz.xz.zst.gz.lz4.sz`
|
||||||
- `.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).
|
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) and ask the user for confirmation.
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ use clap::{Parser, ValueHint};
|
|||||||
// Ouch command line options (docstrings below are part of --help)
|
// Ouch command line options (docstrings below are part of --help)
|
||||||
/// A command-line utility for easily compressing and decompressing files and directories.
|
/// A command-line utility for easily compressing and decompressing files and directories.
|
||||||
///
|
///
|
||||||
/// Supported formats: tar, zip, gz, 7z, xz/lzma, bz/bz2, lz4, sz (Snappy), zst.
|
/// Supported formats: tar, zip, gz, 7z, xz/lzma, bz/bz2, lz4, sz (Snappy), zst and rar.
|
||||||
///
|
///
|
||||||
/// Repository: https://github.com/ouch-org/ouch
|
/// Repository: https://github.com/ouch-org/ouch
|
||||||
#[derive(Parser, Debug, PartialEq)]
|
#[derive(Parser, Debug, PartialEq)]
|
||||||
|
@ -4,7 +4,7 @@ expression: "output_to_string(ouch!(\"--help\"))"
|
|||||||
---
|
---
|
||||||
A command-line utility for easily compressing and decompressing files and directories.
|
A command-line utility for easily compressing and decompressing files and directories.
|
||||||
|
|
||||||
Supported formats: tar, zip, gz, 7z, xz/lzma, bz/bz2, lz4, sz (Snappy), zst.
|
Supported formats: tar, zip, gz, 7z, xz/lzma, bz/bz2, lz4, sz (Snappy), zst and rar.
|
||||||
|
|
||||||
Repository: https://github.com/ouch-org/ouch
|
Repository: https://github.com/ouch-org/ouch
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user