gpt4 book ai didi

ubuntu - 如何在 ubuntu 中提取 .tar 文件?

转载 作者:行者123 更新时间:2023-12-04 18:50:40 25 4
gpt4 key购买 nike

我从 https://drive.google.com/file/d/1WfrELBlEoq5WO7gKUv-MLTQ8QHY-2wiX/view 下载了一个文件它被下载为 cub_epoch_100_glo_step_20200.pth.zip .

然后我使用unzip cub_epoch_100_glo_step_20200.pth.zip 现在有一个名为 的新文件cub_epoch_100_glo_step_20200.pth.tar 被 build

当我尝试使用命令从终端中提取 filename.tar

tar -xvf filename.tar

我得到错误:
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors

当我使用命令检查文件类型时:
file filename.tar

我得到的结果是:
filename.tar : 8086 relocatable (Microsoft)

为什么 unzip 命令会创建一个扩展名为 .tar 的文件?

最佳答案

您的文件可能是 '.obj' format .

file filename.tar

如果它是一个 tar 文件,它将输出:

filename.tar:POSIX tar 归档文件 (GNU)

关于ubuntu - 如何在 ubuntu 中提取 .tar 文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53633285/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com