2025-03-14 21:59:59 -06:00
|
|
|
# lrztar
|
|
|
|
|
|
|
|
|
|
> A wrapper for `lrzip` to simplify compression of directories.
|
|
|
|
|
> See also: `tar`, `lrzuntar`, `lrunzip`.
|
|
|
|
|
> More information: <https://manned.org/lrztar>.
|
|
|
|
|
|
|
|
|
|
- Archive a directory with tar, then compress:
|
|
|
|
|
|
|
|
|
|
`lrztar {{path/to/directory}}`
|
|
|
|
|
|
|
|
|
|
- Same as above, with ZPAQ - extreme compression, but very slow:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`lrztar {{[-z|--zpaq]}} {{path/to/directory}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Specify the output file:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`lrztar {{[-o|--outfile]}} {{path/to/file}} {{path/to/directory}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Override the number of processor threads to use:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`lrztar {{[-p|--threads]}} {{8}} {{path/to/directory}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Force overwriting of existing files:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`lrztar {{[-f|--force]}} {{path/to/directory}}`
|