【发布时间】:2012-10-25 03:36:44
【问题描述】:
我正在尝试提取 .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
文件 tar.gz 只包含另一个有问题的 file.tar
当我尝试提取 .tar 文件时,我得到了
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
我试过 –ignore-zeros –ignore-failed-read 没有运气
即使文件已损坏,我如何提取此文件?
【问题讨论】:
-
请显示您正在使用的
tar命令,您在使用-z吗?另外,使用file来检查文件类型。 -
文件类型tar.gz:gzip压缩数据,来自Unix,最后修改时间:Fri Nov 2 11:42:56 2012
标签: shell command centos extract tar