当前位置:   article > 正文

Linux使用解压命令unzip报错:unzip: cannot find zipfile directory in one of xxx.zip_end-of-central-directory signature not found. eith

end-of-central-directory signature not found. either this file is not a zipf

linux服务器下使用rz上传压缩文件,用unzip命令解压zip包

#xxx.zip 压缩的包名
unzip xxx.zip 
 
Archive:  QY.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of QY.zip or
        QY.zip.zip, and cannot find xxx.zip.ZIP, period.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

报这种错误说明在文件上传或下载的过程中出现了文件丢失的情况,需要使用sftp或scp重新上传文件到服务器,然后使用unzip命令或jar命令解压压缩文件

#方法一
unzip xxx.zip
 
#方法二
jar -xvf xxx.zip
  • 1
  • 2
  • 3
  • 4
  • 5
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/686530
推荐阅读
相关标签
  

闽ICP备14008679号