h1

Error zip: start of central directory not found, zipfile corrupt.

25/10/2012

Si al descomprimir ficheros grandes, generalmente de más de 4 gigabytes, ocurre el siguiente error:

carlos@pc:~/downloads$ unzip Fichero.mayor.que.4.gigas.zip

Archive: Fichero.mayor.que.4.gigas.zip
warning [Fichero.mayor.que.4.gigas.zip ]: 4727417070 extra bytes at beginning or within zipfile
(attempting to process anyway)
error [Fichero.mayor.que.4.gigas.zip ]: start of central directory not found;
zipfile corrupt.
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)

Se soluciona arreglándolo con las opciones «-FFv»:

carlos@pc:~/downloads$ zip -FFv Fichero.mayor.que.4.gigas.zip --out Fichero.mayor.que.4.gigas.FIXED.zip

Deja un comentario

Este sitio utiliza Akismet para reducir el spam. Conoce cómo se procesan los datos de tus comentarios.