LinuxCommandLibrary

ouch

Command-line utility for compressing and decompressing files and directories.

TLDR

Decompress a specific file

$ ouch decompress [path/to/archive.tar.xz]
copy


Decompress a file to a specific location
$ ouch decompress [path/to/archive.tar.xz] --dir [path/to/directory]
copy


Decompress multiple files
$ ouch decompress [path/to/archive1.tar path/to/archive2.tar.gz ...]
copy


Compress files
$ ouch compress [path/to/file1 path/to/file2 ...] [path/to/archive.zip]
copy

Copied to clipboard