Linux command
unzstd 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Decompress file
unzstd [file.zst]
Keep original
unzstd -k [file.zst]
To stdout
unzstd -c [file.zst]
Force overwrite
unzstd -f [file.zst]
Decompress multiple
unzstd [file1.zst] [file2.zst]
说明
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.
参数
- -k
- Keep original.
- -c
- Write to stdout.
- -f
- Force overwrite.
- -v
- Verbose mode.
- -q
- Quiet mode.
FAQ
What is the unzstd command used for?
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.
How do I run a basic unzstd example?
Run `unzstd [file.zst]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -k do in unzstd?
Keep original.