1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 12:45:59 +02:00

ouch: add page (#8968)

This commit is contained in:
Chris Dawkins 2022-10-16 08:46:11 -06:00 committed by GitHub
parent 0e6cb5e16b
commit b5fea79ddf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
pages/common/ouch.md Normal file
View file

@ -0,0 +1,20 @@
# ouch
> Command-line utility for compressing and decompressing files and directories.
> More information: <https://crates.io/crates/ouch>.
- Decompress a specific file:
`ouch decompress {{path/to/archive.tar.xz}}`
- Decompress a file to a specific location:
`ouch decompress {{path/to/archive.tar.xz}} --dir {{path/to/directory}}`
- Decompress multiple files:
`ouch decompress {{path/to/archive1.tar path/to/archive2.tar.gz ...}}`
- Compress files:
`ouch compress {{path/to/file1 path/to/file2 ...}} {{path/to/archive.zip}}`