View Full Version : Howto extract multi. part zipfiles
Nofinger
5th August 2001, 08:56
I made a 3 part floppy zip file of webmin but i can get it extracted in linux:confused: :confused:
Can someone tell me how to do this:)
Thanks
kirek
6th August 2001, 01:12
Originally posted by Nofinger
I made a 3 part floppy zip file of webmin but i can get it extracted in linux:confused: :confused:
Can someone tell me how to do this:)
Thanks
WOW! This might be a hard one... Is there no other option? I don't know your setup but can you mount your windows drive in linux and just copy it accross? Or ftp it accross your network, or something?
I just read the man page for unzip and if I understood what I read, it can be done, if you really need it. But you are going to have to bear with me on this as I have never actually done this before... :)
And we may have to experiment a little.
Okay, start by creating a new directory that you can work on this in.
Copy your (3) zipfiles into this directory.
If I remember correctly the last disk in a multi part archive is the main disk, and what you have to do is combine the three files into one file, in order. So to do this open a terminal window and cd into the junk directory.
now type this from at the prompt. Replacing file1,file2, and file3 with the respective filenames... (omit the $ I was just showing the prompt)
$ cat file1.zip >> file3.zip
This takes file1 and appends it onto the end of file3
Then type this
$ cat file2.zip >> file3.zip
This takes file2 and appends it onto the end of file3 also
Then type this
$ zip -F file3.zip
This (supposedly) fixes the zip file.
Then finally this
$ unzip file3.zip
this unzips the file. :)
I make no promises, this may do nothing at all. I am just going on what I read... :)
If it doesn't work the first time try reversing the order of the two 'cat' steps. cat file2 first then file1. If I get time I will try this tomorrow myself, just 'cause now you got my curiosity going... :)
Let me know how it turns out...
And good luck!
-kirek
dnar
6th August 2001, 01:21
Funny, I thought this would work:
Copy 3 x .zip files to Linux directory
gunzip -c bla*.zip
were: bla1.zip, bla2.zip and bla3.zip are the ZIP files....
kirek
6th August 2001, 01:44
Originally posted by dnar
Funny, I thought this would work:
Copy 3 x .zip files to Linux directory
gunzip -c bla*.zip
were: bla1.zip, bla2.zip and bla3.zip are the ZIP files....
'Tis quite possible. Like I said I have never tried before. And yes I missed the '-c' option looking through the man page. Oops :)
Really I am just trying to make everything harder than it seems. ;) You might be able to unzip the archives from the file manager window by double clicking on the main file. Doesn't the file manager pick up on zipped files too?
-kirek
Nofinger
6th August 2001, 11:42
When I tryed it the zip3 copied 1 and 2 gave error not readable
so i gave up doing it this way (after a lot of time and #@$^%$!%)and going to do it another way.
I will succeed :D
Linux is very different than Windhoze but it still hasn't crached so it must be better:D
Thanks for the Idea's:D :cool:
vBulletin® v3.7.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.