Linux使用tar命令解压压缩文件报错tar: Exiting with failure status due to previous errors
报错内容tar -zxvf aaa.txt.gztar: This does not look like a tar archivetar: Skipping to next headertar: Exiting with failure status due to previous errors排查过程查看文件属性file aaa.txt.gz2022032900.Change.txt.gz:
·
报错内容
tar -zxvf aaa.txt.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
排查过程
查看文件属性
file aaa.txt.gz
aaa.txt.gz: gzip compressed data, from FAT filesystem (MS-DOS, OS/2, NT)
解决方案
使用gzip -d命令解压
gzip -d aaa.txt.gz
完美解决,压缩文件被解压成功。
更多推荐
已为社区贡献1条内容
所有评论(0)