LinuxCommandLibrary

lrztar

wrapper for lrzip that simplifies compression of directories

TLDR

Archive and compress directory

$ lrztar [path/to/directory]
copy
Compress with ZPAQ (extreme)
$ lrztar --zpaq [path/to/directory]
copy
Specify output file
$ lrztar -o [path/to/output] [path/to/directory]
copy
Set thread count
$ lrztar --threads 8 [path/to/directory]
copy
Force overwrite existing
$ lrztar --force [path/to/directory]
copy

SYNOPSIS

lrztar [options] directory

DESCRIPTION

lrztar is a wrapper for lrzip that simplifies compression of directories. It first creates a tar archive, then compresses it using lrzip's long-range compression algorithms.

PARAMETERS

-z, --zpaq

Use ZPAQ compression (extreme, slow)
-o, --outfile FILE
Specify output filename
-p, --threads N
Number of processor threads
-f, --force
Force overwrite existing files
-v, --verbose
Verbose output

CAVEATS

Output filename defaults to directory name with .tar.lrz extension. ZPAQ provides best compression but is very slow.

SEE ALSO

lrzip(1), lrzuntar(1), tar(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community