如何解压缩具有 .zst 或 tar.zst 的存档文件? [英] How can I decompress an archive file having .zst or tar.zst?

查看:1616
本文介绍了如何解压缩具有 .zst 或 tar.zst 的存档文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道如何解压缩扩展名为 .zst 或 tar.zst 的文件.完整的文件名:- file.pkg.tar.zst 或 file.xz.tar.zst

I do not know how I can decompress a file having .zst or tar.zst extension . The full filename :- file.pkg.tar.zst or file.xz.tar.zst

推荐答案

扩展名为 .zst 的意思是压缩包由 zstd 压缩.

The extention .zst means that the archive is compressed by zstd.

tar 命令有一个选项 -I (--use-compress-program) 来指定压缩/解压缩命令.

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

这篇关于如何解压缩具有 .zst 或 tar.zst 的存档文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆