You are not logged in.

#1 2007-10-16 23:42:32

Ilya
Member
From: Russia, Saint-Petersburg
Registered: 2007-08-16
Posts: 98

How to UNZIP broken archive?

Unrar can extract files from broken archive ("-kb" option, keep broken).

$ unrar x -kb half-downloaded-file.rar

How to extract files from broken ZIP?

Offline

#2 2008-05-21 04:31:08

Ilya
Member
From: Russia, Saint-Petersburg
Registered: 2007-08-16
Posts: 98

Re: How to UNZIP broken archive?

up

Offline

#3 2008-05-22 16:51:08

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: How to UNZIP broken archive?

The last time I had a broken ZIP archive, I was able to open it in Windows...

Offline

#4 2008-05-22 19:13:25

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: How to UNZIP broken archive?

Unzip won't unzip the broken archive when the end of the file is missing. You could try bsdtar xf zipfile though, bsdtar can read the archive without looking at the last few bytes of it.

Offline

#5 2008-05-23 00:15:18

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: How to UNZIP broken archive?

Oh boy. Install wine. Install WinRAR. The zip files may not be broken, but they may use a newer zip file format that unzip cannot understand.

Offline

#6 2008-05-23 06:58:09

Ilya
Member
From: Russia, Saint-Petersburg
Registered: 2007-08-16
Posts: 98

Re: How to UNZIP broken archive?

JGC, thanks! It works fine!

* * *

tigrmesh wrote:

The last time I had a broken ZIP archive, I was able to open it in Windows...

SpookyET wrote:

Oh boy. Install wine. Install WinRAR. The zip files may not be broken, but they may use a newer zip file format that unzip cannot understand.

What are you talkin' about?

Offline

Board footer

Powered by FluxBB