linux – tar退出失败……?
发布时间:2020-12-14 02:37:52 所属栏目:Linux 来源:网络整理
导读:我正在用这个命令解决tar -pxvzf filename.tar.gz一切似乎都很顺利,但它出乎意料地退出了下面的错误.有没有理由我收到此错误和/或阻止它? tar: Exiting with failure status due to previous errors 遵循回复并删除-v的人的建议.这是输出错误(见下文).这是j
我正在用这个命令解决tar -pxvzf filename.tar.gz一切似乎都很顺利,但它出乎意料地退出了下面的错误.有没有理由我收到此错误和/或阻止它?
tar: Exiting with failure status due to previous errors 遵循回复并删除-v的人的建议.这是输出错误(见下文).这是joomla cms站点的备份.知道什么会导致这些错误吗?我唯一可能的事情是缓存和tmp文件夹可能会导致它可能具有奇怪的字符 tar: Archive contains `nsion.pd' where numeric mode_t value expected tar: Archive contains `Party.pd' where numeric mode_t value expected tar: Archive contains `manent C' where numeric mode_t value expected tar: Archive contains `ial Circ' where numeric mode_t value expected tar: Archive contains `pdf0444' where numeric mode_t value expected tar: Archive contains `pring 20' where numeric mode_t value expected tar: Archive contains `.pdf444' where numeric mode_t value expected tar: Archive contains `pdf0444' where numeric mode_t value expected tar: Archive contains `up from ' where numeric mode_t value expected tar: Archive contains `ting.pdf' where numeric mode_t value expected tar: Archive contains `on.pdf4' where numeric mode_t value expected tar: Archive contains `f100444' where numeric mode_t value expected tar: Archive contains `ptions t' where numeric mode_t value expected tar: Archive contains `f100444' where numeric mode_t value expected tar: Archive contains `pdf0444' where numeric mode_t value expected tar: Archive contains `f100444' where numeric mode_t value expected tar: Archive contains `ter.pdf' where numeric mode_t value expected tar: Archive contains `ted.pdf' where numeric mode_t value expected tar: Archive contains `df00444' where numeric mode_t value expected tar: Archive contains `Inc..pdf' where numeric mode_t value expected tar: Archive contains `d.pdf44' where numeric mode_t value expected tar: Archive contains `Network.' where numeric mode_t value expected tar: Archive contains `df00444' where numeric mode_t value expected tar: Archive contains `rship Aw' where numeric mode_t value expected tar: Archive contains `.pdf444' where numeric mode_t value expected tar: Archive contains `ition.pd' where numeric mode_t value expected tar: Archive contains `df00444' where numeric mode_t value expected tar: Archive contains `9.pdf44' where numeric mode_t value expected tar: Archive contains `1.pdf4' where numeric mode_t value expected tar: Exiting with failure status due to previous errors 解决方法
您的命令将调用tar,它将调用gunzip来首先解压缩文件.您可以使用两个命令来检查文件损坏等可能的错误,如下所示:
$gunzip filename.tar.gz 上面的命令将生成文件filename.tar.然后,您可以使用: $tar -pxvf filename.tar 这应该可以帮助您调试问题.您还可以从命令中删除-v以禁用文件列表,这可能有助于您仅关注错误消息. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |