tar:存档中意外的EOF

iLi*_*x85 5 shell command centos extract tar

我正在尝试提取.tar.gz文件,但没有运气

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Run Code Online (Sandbox Code Playgroud)

文件tar.gz包含另一个只有问题的file.tar

当我试图提取.tar文件时,我得到了

tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Run Code Online (Sandbox Code Playgroud)

我试过-ignore-zeros -ignore-failed-read没有运气

即使它被破坏,我怎么能提取这个文件?

jll*_*gre 1

您的 tar 文件被截断。tar提取存档中存在的所有内容,但无法发明丢失的部分。