← 返回命令列表

Linux command

lbzip2 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

Compress file

lbzip2 [file]

Decompress file

lbzip2 -d [file.bz2]

Use specific thread count

lbzip2 -n [4] [file]

Keep original file

lbzip2 -k [file]

Compress to stdout

lbzip2 -c [file] > [file.bz2]

Test archive integrity

lbzip2 -t [file.bz2]

说明

lbzip2 is a parallel bzip2 compressor and decompressor. It uses multiple CPU cores to compress and decompress files faster than standard bzip2. lbzip2 produces output compatible with bzip2/bunzip2. It automatically uses available CPU cores, making it much faster on multicore systems.

参数

-d, --decompress
Decompress.
-z, --compress
Compress (default).
-k, --keep
Keep input files.
-c, --stdout
Output to stdout.
-t, --test
Test integrity.
-n _threads_
Number of threads.
-1 to -9
Compression level.
-f, --force
Force overwrite.
-v, --verbose
Verbose output.

FAQ

What is the lbzip2 command used for?

lbzip2 is a parallel bzip2 compressor and decompressor. It uses multiple CPU cores to compress and decompress files faster than standard bzip2. lbzip2 produces output compatible with bzip2/bunzip2. It automatically uses available CPU cores, making it much faster on multicore systems.

How do I run a basic lbzip2 example?

Run `lbzip2 [file]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -d, --decompress do in lbzip2?

Decompress.