LinuxCommandLibrary

unzstd

Decompress Zstandard compressed files

TLDR

Decompress file

$ unzstd [file.zst]
copy
Keep original
$ unzstd -k [file.zst]
copy
To stdout
$ unzstd -c [file.zst]
copy
Force overwrite
$ unzstd -f [file.zst]
copy
Decompress multiple
$ unzstd [file1.zst] [file2.zst]
copy

SYNOPSIS

unzstd [-k] [-c] [-f] [options] files

DESCRIPTION

unzstd decompresses files that were compressed with the Zstandard (zstd) algorithm. It is functionally equivalent to running zstd --decompress and is provided as a convenience command within the zstd package.
Zstandard offers very fast decompression speeds while achieving compression ratios comparable to zlib. By default, unzstd replaces the compressed .zst file with the decompressed output. The -k flag preserves the original, and -c writes to standard output for piping.
Developed by Facebook (now Meta) and released in 2016, Zstandard has been adopted by the Linux kernel, package managers like pacman and apt, and many other tools as a modern replacement for gzip that provides both better compression and faster decompression.

PARAMETERS

-k

Keep original.
-c
Write to stdout.
-f
Force overwrite.
-v
Verbose mode.
-q
Quiet mode.

CAVEATS

Newer format. May not be everywhere. Part of zstd package.

HISTORY

unzstd is part of Zstandard (zstd), a fast compression algorithm developed by Facebook.

SEE ALSO

zstd(1), gzip(1), xz(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community