Recovering corrupted zip file

Few weeks ago I was doing backup of various folders, which I zipped into one file and uploaded to Google Drive (22.8 GB totally).

I downloaded it today and when I wanted to unpack it on my Linux computer with:


I've got:

warning []: 20207777058 extra bytes at beginning or within zipfile 
(attempting to process anyway)
error []: 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)

I don't what was the reason for this, could that I packed it with Total Commander on Windows and tried to unpack it on Linux... I found on internet following command:

zip -FF --out

which goes through all files, at the end it looks something like this:

copying: backup/myfile.pdf (243919 bytes)
Central Directory found...
Zip64 EOCDR found ( 1 24512839085)...
Zip64 EOCDL found ( 1 24512839141)...
EOCDR found ( 1 24512839161)...

I unzipped new file and everything was ok

blog comments powered by Disqus