1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-06 06:55:24 +02:00
tldr/pages/common/ouch.md
Managor 4b1e0196d1
common/*: reduce usage of "command-line" (part 3) (#16951)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc>
2025-06-28 13:12:44 +00:00

522 B

ouch

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}}