mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 08:57:08 +00:00
Update cheatsheets
This commit is contained in:
25
ouch
Normal file
25
ouch
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user