Периодически мне присылают или я скачиваю 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 file.zip or file.zip.zip, and cannot find file.zip.ZIP, period
unzip: cannot find zipfile directory in one of file.zip or file.zip.zip, and cannot find file.zip.ZIP, period
Исправление архива
Решается это - просто:
$
zip -F <название архива>.zip
После этого, можете спокойно распаковывать исправленный архив.
0 коммент.: