解决Linux使用解压命令unzip报错:unzip:cannot find zipfile directory in one of xxx.zip问题
Linux unzip:cannot find zipfile directory in one of xxx.zip
在linux服务器下使用rz上传压缩文件,用unzip命令解压zip包
#xxx.zip 压缩的包名
unzip xxx.zipArchive: 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.
出现这种错误的原因
说明在文件上传或下载的过程中出现了文件丢失的情况
需要使用sftp或scp重新上传文件到服务器
然后使用unzip命令或jar命令解压压缩文件
解决过程
#方法一 unzip xxx.zip #方法二 jar -xvf xxx.zip
总结
以上为个人经验,希望能给大家一个参考,也希望大家多多支持脚本之家。
相关文章
Linux 下载安装VSCode 使用编程输出当前时间的方法
这篇文章主要介绍了Linux 下载安装VSCode 使用编程输出当前时间,本文通过图文并茂的形式给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下2020-06-06
LNMP下FTP服务器的安装与使用方法(Pureftpd和Proftpd)
FTP是网站文件维护中使用比较多的,目前LNMP一键安装包中有Pureftpd和Proftpd服务器安装脚本2013-06-06


最新评论