Linux command
lrztar 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Archive and compress
lrztar [path/to/directory]
Example
lrztar -l [path/to/directory]
Example
lrztar -b [path/to/directory]
Example
lrztar -g [path/to/directory]
Example
lrztar -z [path/to/directory]
Example
lrztar -o [path/to/output.tar.lrz] [path/to/directory]
Example
lrztar -v -f [path/to/directory]
说明
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. Output defaults to DIRECTORY.tar.lrz. lrztar accepts the same options as lrzip.
参数
- -l, --lzo
- Use ultra-fast LZO compression
- -b, --bzip2
- Use bzip2 compression
- -g, --gzip
- Use gzip compression
- -z, --zpaq
- Use ZPAQ compression (best ratio, very slow)
- -n, --no-compress
- Only perform long-range redundancy reduction (no 2nd stage compression)
- -o, --outfile _FILE_
- Specify output filename
- -p, --threads _N_
- Number of processor threads
- -f, --force
- Force overwrite existing files
- -v, --verbose
- Increase verbosity (-vv for more)
- -D, --delete
- Delete source files after successful compression
FAQ
What is the lrztar command used for?
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. Output defaults to DIRECTORY.tar.lrz. lrztar accepts the same options as lrzip.
How do I run a basic lrztar example?
Run `lrztar [path/to/directory]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -l, --lzo do in lrztar?
Use ultra-fast LZO compression