[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: zipping/unzipping



>      Yes, you are right. I'm downloading a 2.5MB file at work, zipping 
>      it with pkzip with disk spanning on.  I want to pull it right off 
>      the floppies onto the linux file system (my hard drive) in the 
>      first decompression.  If that works, I'm home free.  (Literally) 
>      My home Linux PC is Linux only.
>      
>      Progress report so far: gunzip (gzip -d) failed to recognize the 
>      file format.  This is because gzip and pkzip apparently have very 
>      little in common.  However, the man pages or other documentation 
>      I found said to get 'zip' and 'unzip' from oak.oakland.edu.  
>      These are supposedly completely compatible with pkzip.  The unzip 
>      compressed file is small enough to fit on a single floppy, so I 
>      shouldn't have any trouble uncompressing it with gunzip.  I'll 
>      let you know.  Any additional information, caveats, warnings, 
>      etc. would be received with much gladness.

Yes, pkzip and gzip are two completely different compression programs.
"zip/unzip" are the Unix version of pkzip.

I'm not sure that unzip (unix) can do disk spanning.  If you find
that it cannot, you could try coping each file on the diskettes to 
your hard drive, and combine them all with "cat".  Then try to unzip
the combined file.  I've never tried this, but it's worth a shot.

i.e
for every diskette:
	mount /dev/fd0 /mnt/fd0
	cp /mnt/fd0/* .
	umount /mnt/fd0

Then you should have a bunch of files like:
	zipfile.001
	zipfile.002
	zipfile.003
	.
	.

Then you can "cat zipfile.* > combined.zip" to combine them all.
Then try a "unzip combined.zip".

Good luck, and let me know how you make out.

--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
--------------------------------------------