首页 > 技术文章 > mac tar命令压缩后上传到windows虚拟机解压报错解决方案

zxqblogrecord 2018-12-10 23:10 原文

  在解压tar.gz文件的时候报错

  [Sun@localhost Downloads]$ tar -zxvf clion-141.351.4.tar.gz

  gzip: stdin: not in gzip format

  tar: Child returned status 1

  tar: Error is not recoverable: exiting now

  原因是这个压缩包没有用gzip格式压缩,所以不用加z指令

  [Sun@localhost Downloads]$ tar -xvf clion-141.351.4.tar.gz

  这样就可以了

推荐阅读