我尝试解压缩zip文件,但出现错误:
$ unzip COCR2_100.zip
Archive: COCR2_100.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.
note: COCR2_100.zip may be a plain executable, not an archive
unzip: cannot find zipfile directory in one of COCR2_100.zip or
COCR2_100.zip.zip, and cannot find COCR2_100.zip.ZIP, period.
我用谷歌搜索,但没有找到解决方案。我想知道为什么会这样,应该如何解决?谢谢!
可以从COCR2_100下载zip文件。它是一个应用程序,在这里是其网站http://users.belgacom.net/chardic/cocr2.html。
我的操作系统是10.10。
jar xvf archive.zip
,或尝试使用修复档案zip -F archive.zip -O archive-fixed.zip
(或-FF
参见man zip
)。