tldr/pages/linux/lrztar.md

26 lines
596 B
Markdown
Raw Normal View History

2018-10-20 12:13:59 +01:00
# lrztar
> A wrapper for `lrzip` to simplify compression of directories.
> See also: `tar`, `lrzuntar`, `lrunzip`.
> More information: <https://manned.org/lrztar>.
2018-10-20 12:13:59 +01:00
- Archive a directory with `tar`, then compress:
`lrztar {{path/to/directory}}`
- Same as above, with ZPAQ - extreme compression, but very slow:
`lrztar -z {{path/to/directory}}`
- Specify the output file:
`lrztar -o {{path/to/file}} {{path/to/directory}}`
- Override the number of processor threads to use:
`lrztar -p {{8}} {{path/to/directory}}`
- Force overwriting of existing files:
`lrztar -f {{path/to/directory}}`