如何在目录中提取所有压缩Z文件?
我在Fedora 35上,并且有一个装满.z
的目录,我必须在目录中提取。这是一个命名方式的示例:
GIRAF.2021-02-14T00:59:35.569.fits.Z
我想知道是否有一个命令我可以在终端中输入,以在目录中提取所有.z
文件?
I am on Fedora 35 and I have a directory full of .Z
I have to extract within the directory. Here is an example of how they are named:
GIRAF.2021-02-14T00:59:35.569.fits.Z
I was wondering if there was a command I could type in the terminal that extracts all .Z
files in the directory?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该解决方案由 rickhg12hs。
首先,尝试
gunzip -vt *.z
查看是否是否有任何问题。如果没有,则
gunzip *.z
The solution is given by rickhg12hs.
First, try
gunzip -vt *.Z
to see if there are any problems.If none, then
gunzip *.Z