HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

lrztar — A wrapper for `lrzip` to simplify compression of directories. See also: `tar`, `lrzuntar`, `lrunzip`

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandsimplifycompressionlrzipclilrztarwrapperfor
linux

Problem

How to use the lrztar command: A wrapper for lrzip to simplify compression of directories. See also: tar, lrzuntar, lrunzip. More information: <https://manned.org/lrztar>.

Solution

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:
lrztar {{[-z|--zpaq]}} {{path/to/directory}}


Specify the output file:
lrztar {{[-o|--outfile]}} {{path/to/file}} {{path/to/directory}}


Override the number of processor threads to use:
lrztar {{[-p|--threads]}} {{8}} {{path/to/directory}}


Force overwriting of existing files:
lrztar {{[-f|--force]}} {{path/to/directory}}

Code Snippets

Archive a directory with tar, then compress

lrztar {{path/to/directory}}

Same as above, with ZPAQ - extreme compression, but very slow

lrztar {{[-z|--zpaq]}} {{path/to/directory}}

Specify the output file

lrztar {{[-o|--outfile]}} {{path/to/file}} {{path/to/directory}}

Override the number of processor threads to use

lrztar {{[-p|--threads]}} {{8}} {{path/to/directory}}

Force overwriting of existing files

lrztar {{[-f|--force]}} {{path/to/directory}}

Context

tldr-pages: linux/lrztar

Revisions (0)

No revisions yet.