用unzip無法解壓文件咒锻,會(huì)報(bào)以下錯(cuò)誤信息
? 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.
這是由于該壓縮文件由pkzip算法壓縮而成拆魏,所以必須先安裝p7zip包,用p7zip來解壓顽分,這里我是直接用brew來安裝p7zip的
$ brew install p7zip
安裝成功后運(yùn)行以下命令就可以解壓你想要解壓的文件了
$ 7za x xxxxx.zip?