unzip ICH VERZWEIFEL

Post Reply
Message
Author
DjGorilla

unzip ICH VERZWEIFEL

#1 Post by DjGorilla »

Hey ich hab unter windows mit winzip paar files gepackt und zu 50mb packeten gemacht ! cod.zip, cod.zXX ( xx ) für jeweils ne zahl ! allerdings weiß ich nemmer was ich machen solll mit unzip -l cod.zip listet er alle files aber entpacken tut er nur die sachen in der cod.zip ! und bringt fehler =

cod@p15135124:~> unzip cod.zip
Archive: cod.zip
warning [cod.zip]: zipfile claims to be last disk of a multi-part archive;
attempting to process anyway, assuming all parts have been concatenated
together in order. Expect "errors" and warnings...true multi-part support
doesn't exist yet (coming soon).
file #1: bad zipfile offset (local header sig): 4
file #2: bad zipfile offset (local header sig): 40
file #3: bad zipfile offset (local header sig): 55335
file #4: bad zipfile offset (local header sig): 101090
file #5: bad zipfile offset (local header sig): 159060
file #6: bad zipfile offset (local header sig): 206828
file #7: bad zipfile offset (local header sig): 265754
file #8: bad zipfile offset (local header sig): 336359
file #9: bad zipfile offset (local header sig): 557565
file #10: bad zipfile offset (local header sig): 602010
file #11: bad zipfile offset (local header sig): 718139
file #12: bad zipfile offset (local header sig): 940617
file #13: bad zipfile offset (local header sig): 1031314
file #14: bad zipfile offset (local header sig): 1762676
file #15: bad zipfile offset (local header sig): 4095932
file #16: bad zipfile offset (local header sig): 4455111
file #17: bad zipfile offset (local header sig): 4456047
file #18: bad zipfile offset (local header sig): 4627323
file #19: bad zipfile offset (local header sig): 4748073
file #20: bad zipfile offset (local header sig): 5045115
file #21: bad zipfile offset (local header sig): 5046384
file #22: bad zipfile offset (local header sig): 5046419
file #23: bad zipfile offset (local header sig): 13395637
file #24: bad zipfile offset (lseek): 21635072
file #25: bad zipfile offset (lseek): 32006144
file #26: bad zipfile offset (lseek): 40763392
replace main/pak6.pk3? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: main/pak6.pk3
replace main/ui_mp_x86.dll? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: main/ui_mp_x86.dll

--------------------------------------------------------

wenn ich eine der dateien entpacken will cod.z01 sagt er =

cod@p15135124:~> unzip cod.z01
Archive: cod.z01
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of cod.z01 or
cod.z01.zip, and cannot find cod.z01.ZIP, period.

-------------------------------------

kann mir bitte wer helfen :(

Z. Ipfel

Re: unzip ICH VERZWEIFEL

#2 Post by Z. Ipfel »

Also, ich weiß nicht wie man das per zip u.ä. löst, aber warum fügst Du die Dateien nicht einfach (wieder) zusammen?

Jochen

Re: unzip ICH VERZWEIFEL

#3 Post by Jochen »

Hi,

eigentlich ist unzip doch recht deutlich:
<i>Expect "errors" and warnings...true multi-part support doesn't exist yet (coming soon).</i>

Soweit die schlechten Nachrichten. Andererseits sagt er ja, dass er annimmt, dass alle Teile des Archiv aneinandergehängt wurden:
<i>zipfile claims to be last disk of a multi-part archive; attempting to process anyway, assuming all parts have been concatenated together in order.</i>

Und das hast Du ja noch nicht gemacht. Leider habe ich gerade mangels Multipart-ZIP-Archivs keine Testmöglichkeit, aber versuch mal folgendes:<blockquote><pre><font size="1" face="">code:</font><hr><font face="Courier New" size="2">cat cod.z* > codgesamt.zip
unzip codgesamt.zip</font><hr></pre></blockquote>unzip musst Du natürlich noch mit den bei Dir ggf. notwendigen Optionen versehen. Sollte es das nicht tun, könntest Du noch mal andere Arten und Weisen probieren, die codgesamt.zip zu erstellen:<pre>cat cod.zip cod.z[<!--no-->0-9][<!--no-->0-9] > codgesamt.zip</pre>könnte es vielelicht auch tun.

Poste mal, ob und wenn ja, was geklappt hat. Viel Erfolg!

Jochen

Z. Ipfel

Re: unzip ICH VERZWEIFEL

#4 Post by Z. Ipfel »

Warum list Du nicht deine Fehlermeldung!!! (Ja, habe es auch erst hinterher gemacht.)

Z Ipfel

Re: unzip ICH VERZWEIFEL

#5 Post by Z Ipfel »

??? gzip, zwecks stdin ???

# Was bringt eigentlich ein

cat cod.zip cod.z[0-9][0-9] | gunzip -

# Nächstes Mal bitte cod.z00, cod.z01, ... und nicht mit *.zip beginnen!
# Das würde obige bzw. Jochens Zeile zu

cat cod.z* | gunzip -

# oder gar

gunzip - < cod.z*

# minimieren.

Jochen

Re: unzip ICH VERZWEIFEL

#6 Post by Jochen »

@Z. Ipfel: Solange zip/unzip verwendet wird, ist gzip aussen vor. Dass man bei gzip die Probleme nicht hätte, ist klar. unzip kann aber leider nicht mit "-" angewiesen werden, von stdin zu lesen (hatte ich vor meinem Posting getestet).

Dein letztes "gunzip < cod.z*" ist schlicht und ergreifend *falsch* - zumindest in sh/bash/ksh. Keine Ahnung, ob die zsh so was kann...

Was die Reihenfolge der Parts betrifft: Lies mein Posting noch mal, speziell die cat-Kommandos.

Jochen

DjGorilla

Re: unzip ICH VERZWEIFEL

#7 Post by DjGorilla »

ich hab schon eine zip soll ich die auch adden ? also zuerst alle z files und dann die zip weil in der zip sind die header infos für die anderen

DjGorilla

Re: unzip ICH VERZWEIFEL

#8 Post by DjGorilla »

hab sie nun zusammengefügt aus der cod.zip hab ich cod.z15 gemacht also letzte datei und jetz entpackt er aber wieder nur den inhalt der cod.z15 die davor die cod.zip war und den rest nicht

DjGorilla

Re: unzip ICH VERZWEIFEL

#9 Post by DjGorilla »

cod@p15135124:~> unzip codgesamt.zip
Archive: codgesamt.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of codgesamt.zip or
codgesamt.zip.zip, and cannot find codgesamt.zip.ZIP, period.

DjGorilla

Re: unzip ICH VERZWEIFEL

#10 Post by DjGorilla »

hab auch ICQ: 64022067 zum direkt kontaktieren!

Z. Ipfel

Re: unzip ICH VERZWEIFEL

#11 Post by Z. Ipfel »

cod.zip muß doch wohl die erste sein, Du hast doch in der Reihenfolge cod.zip, cod.z01, ... erstellt?
Deshalb war mein Vorschlag, nächstes Mal in alfabetischer Reihenfolge zu erstellen.
Jochens

cat cod.zip cod.z[0-9][0-9] > codgesamt.zip

reduziert sich dann zu

cat cod.z* > codegesamt.zip

Also DJ, wenn Du probierst, kopier deine Dateien aus dem "Vorratsverzeichnis" in ein möglichst leeres Arbeitsverzeichnis, dann kannst Du schnell wieder den Ausgangszustand, also ein Verzeichnis mit nur deinen original win-gezippten Dateien herstellen.

Jetzt sollte Jochens Zeile aber funktionieren!

cat cod.zip cod.z[0-9][0-9] > codgesamt.zip

Ist soviel wie einzeln

cat cod.zip > codegesamt.zip
cat cod.z01 >> codegesamt.zip
cat cod.z02 >> codegesamt.zip
...

oder im mc immer <F5> nach codegesamt.zip, ab dem 2. Mal dann append bestätigen.


@Jochen
Klar, < * ist bissel viel.

Z. Ipfel

Re: unzip ICH VERZWEIFEL

#12 Post by Z. Ipfel »

Kann Winzip nicht mit tar umgehen? Habe schon *.tar.bz2 an Win-User gegeben und wurde nicht gesteinigt.

notdefine
Posts: 17
Joined: 03. Nov 2003 20:29
Location: Rhede
Contact:

Re: unzip ICH VERZWEIFEL

#13 Post by notdefine »

Winrar kann mit tar umgehen. Einziges prob dabei ist immer der Zeilenumbruch in Textdateien.

Pille

Re: unzip ICH VERZWEIFEL

#14 Post by Pille »

7Zip für Windows kann mit verschiedenen Formaten umgehen und macht das auch ganz gut.

Post Reply