Suppose I have two files:
file1.zst
file2.tar.zst
How can I decompress these files in terminal?
The extension .zst
means that the archive is compressed by zstd.
The tar command has an option -I
(--use-compress-program
) to specify a command for compression/decompression.
You can use it as follows.
$ tar --use-compress-program=unzstd -xvf archive.tar.zst
$ tar --zstd -xvf archive.tar.zst