mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-05 02:55:31 +00:00
Update README.md
This commit is contained in:
parent
b50f82a65b
commit
8548f73870
19
README.md
19
README.md
@ -2,7 +2,7 @@
|
||||
|
||||
<!--  -->
|
||||
|
||||
`ouch` loosely stands for Obvious Unified Compression (ᵃⁿᵈ ᵈᵉᶜᵒᵐᵖʳᵉˢˢᶦᵒⁿ) Helper and aims to be an easy and intuitive way of compressing and decompressing files on the command-line.
|
||||
`ouch` loosely stands for Obvious Unified Compression files Helper and aims to be an easy and intuitive way of compressing and decompressing files on the command-line.
|
||||
|
||||
- [Usage](#Usage)
|
||||
- [Decompressing files](#Decompressing-files)
|
||||
@ -35,6 +35,8 @@ ouch a.zip b.tar.gz c.tar.bz2 -o new_folder
|
||||
|
||||
The `compress` subcommand is able to compress files and folders. The **last** argument will be the **output file**.
|
||||
|
||||
You can also use the `c` alias for this subcommand.
|
||||
|
||||
The compression format employed will be defined according to the output file's extension.
|
||||
|
||||
```bash
|
||||
@ -46,11 +48,14 @@ ouch compress a.mp4 b.jpg c.png files.tar.bz2
|
||||
|
||||
# Compress a folder and a file into `videos.tar.xz`
|
||||
ouch compress Videos/ funny_meme.mp4 videos.tar.xz
|
||||
|
||||
# Compress two folders into a lzma file
|
||||
ouch c src/ target/ build.tar.lz
|
||||
```
|
||||
|
||||
### Listing the elements of an archive
|
||||
|
||||
(TODO -- not implemented at all)
|
||||
* **Upcoming feature**
|
||||
|
||||
```
|
||||
# Shows the files and folders contained in videos.tar.xz
|
||||
@ -98,11 +103,17 @@ cd ouch && cargo run --release
|
||||
## Supported operating systems
|
||||
|
||||
`ouch` runs on Linux, macOS and Windows 10. Binaries are available on our [Releases](https://github.com/vrmiguel/ouch/releases) page.
|
||||
Binaries are also available at the end of each (successful) [GitHub Actions](https://github.com/vrmiguel/ouch/actions) run.
|
||||
|
||||
**Note on Windows**: colors are currently messed up on PowerShell but work fine on [ConEmu](https://conemu.github.io/). A feature for disabling colors is planned.
|
||||
Binaries are also available at the end of each (successful) [GitHub Actions](https://github.com/vrmiguel/ouch/actions) run for these targets:
|
||||
|
||||
* Linux x86-64 statically linked (musl libc)
|
||||
* macOS x86-64 dynamically linked
|
||||
* Windows 10
|
||||
* Linux ARMv7 dynamically linked (glibc)
|
||||
|
||||
One must be logged into GitHub to access build artifacts.
|
||||
|
||||
## Limitations
|
||||
|
||||
`ouch` does encoding and decoding in-memory, so decompressing very large files with it is not advisable.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user