tar命令出错

解压tar文件的时候报错:this does not look like a tar archive
这时候可以使用如下方法解决:
gzip -d file.tar.gz
然后
tar -xf file.tar
再解压就可以了
原因不明~~
有待研究
原文地址:https://www.cnblogs.com/macula7/p/1960430.html