You are not logged in.

#1 2010-09-16 22:23:37

655321
Member
From: Costa Rica
Registered: 2009-12-08
Posts: 412
Website

[SOLVED] howto unzip multipart zipfiles?

Hi all, I have a problem that is driving me crazy, I downloaded some app I need and its a multipart zip file, In windows I should just unzip the file regularly and all went good, whoever the unzip linux utility refuses to do so.

I do have a virtual machine and can just uncompress the file there, but why linux doesn't want to unzip the file?

I tried the instructions provided here http://www.hendra-k.net/how-to-extract- … files.html to no avail, the -F option doesnt work (even if I inputthe --out operand and specify and different zip file, it doesn't work also with -FF option.

Any help will be appreciated.

thanks in advance

Last edited by 655321 (2010-09-24 21:00:21)


Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff

Offline

#2 2010-09-16 22:52:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] howto unzip multipart zipfiles?

Have you tried using zip rather than unzip? Those are different apps.

Offline

#3 2010-09-16 23:00:49

655321
Member
From: Costa Rica
Registered: 2009-12-08
Posts: 412
Website

Re: [SOLVED] howto unzip multipart zipfiles?

I use unzip to extract and zip con check the file for errors and fix them, and cat to concatenate (as the link I mentioned states)

I'm actually beginning to think that the .z01 part is damaged, I will try with another file of the same extension and see if it works.

cheers.


Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff

Offline

#4 2010-09-17 15:01:30

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] howto unzip multipart zipfiles?

You could also try 7z.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2010-09-17 16:18:08

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [SOLVED] howto unzip multipart zipfiles?

Just a crazy idea ... Try joining them like this:

cat *.z* > newfile.zip

And then unzip the resulting file.

It probably won't work.

Last edited by Ashren (2010-09-17 16:20:45)

Offline

#6 2010-09-17 16:55:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] howto unzip multipart zipfiles?

Ashren wrote:

Just a crazy idea ... Try joining them like this:

cat *.z* > newfile.zip

And then unzip the resulting file.

It probably won't work.

That's what he's trying to do, as the linked article suggested:

hendra-k@server $ cat zipfiles.* > zipfiles-full.zip
hendra-k@server $ zip -F zipfiles-full.zip
hendra-k@server $ unzip zipfiles-full.zip

Offline

#7 2010-09-17 17:45:58

clio
Member
From: Göteborg
Registered: 2009-07-16
Posts: 15

Re: [SOLVED] howto unzip multipart zipfiles?

I do same way like in windows.Mark all files rigth click and  extract here or to another dir, works perfect for me when i try 26 .zipfiles in a dir
I use thunar and have fileroller and unzip,zip,unrar,7z,rar

From terminal this works for me from this link http://www.cyberciti.biz/faq/linux-unix … zip-files/    -    for z in *.zip; do unzip $z; done

Last edited by clio (2010-09-17 18:07:20)

Offline

#8 2010-09-24 21:00:01

655321
Member
From: Costa Rica
Registered: 2009-12-08
Posts: 412
Website

Re: [SOLVED] howto unzip multipart zipfiles?

well I found the problem turns out the file was corrupt, not corrupted because of a bad download, corrupted because well, the guy hosting the file made something to it. I tried with other packages and it worked fine.

Thanks for all the help


Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff

Offline

#9 2013-08-11 21:26:16

Konstantin_hu
Banned
Registered: 2012-05-14
Posts: 84
Website

Re: [SOLVED] howto unzip multipart zipfiles?

You don't need "cat" at all.
Lets assume we have archive.z01 and archive.zip

zip -FF archive.zip --out fixed-archive.zip

It will find all the volumes, and makes a fixed-archive.zip
Then you can extract it:

7z x fixed-archive.zip

That's all.

Offline

#10 2013-08-11 22:52:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] howto unzip multipart zipfiles?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB