LinuxCommandLibrary

zstdmt

Multithreaded zstd compression

TLDR

Compress with multithreading

$ zstdmt [file]
copy
Compress with specific threads
$ zstdmt -T[4] [file]
copy
Decompress multithreaded
$ zstdmt -d [file.zst]
copy
Maximum compression
$ zstdmt -19 [file]
copy

SYNOPSIS

zstdmt [options] [files...]

DESCRIPTION

zstdmt is the multithreaded variant of the zstd compression utility. It automatically uses all available CPU cores for compression, equivalent to running zstd -T0, providing significantly faster throughput on multi-core systems.
The compressed output is fully compatible with standard zstd files and can be decompressed by any zstd-compatible tool. All standard zstd options for compression levels, decompression, and file handling are supported.

PARAMETERS

-T n

Number of threads (0 = auto).
-d
Decompress.
-1 to -19
Compression level.
--ultra
Enable ultra mode (levels 20-22).
-k
Keep source files.

SEE ALSO

zstd(1), zstdcat(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community