Re: gzip repair

1997-03-07 Thread Ioannis Tambouras


 Martin Not necessarily so. Perhaps gunzip figures.tar.gz
 Martin followed by tar -xvf figures.tar works out all right.
 I have tried that, I get a unexpected EOF error when gunziping

  With very large files, 500+M, used to get bad gzips all the time. I never
 trusted it, and always had to check the new .gz with gzip -l . Do not
 know how gzip performs now. Since I back-up with dump(1). Try to use
 bzip ( not sure about the name, but it is in non-free). It might perform
 better than gzip. Or, try to buffer(1) the data before gzip sees them, maybe
 that will help. I don't think Debian has buffer(1), but you can get it from
 a sunsite mirror. It would be nice to know if Debian has a program that
 only buffers, anyone knows? 



Ioannis Tambouras 
[EMAIL PROTECTED], West Palm Beach, Florida
Signed pgp-key on key server. 

On Fri, 7 Mar 1997, root wrote:

  
 
 Maybe `gzip -dc figures.tar.gz  somename.tar` (and tar afterwards) will do 
 better? -- just a thought...
  
 Dimitri
 
 


gzip repair

1997-03-06 Thread Graeme Stewart
Does anyone know if there exists a utility to try and repair dammaged
gzip files? I have a tar.gz with 13 postscript files which were
generated with an MSDOG graphics programme in the Dark Days,
unforunately when I gunzip I get

$ tar -xvzf figures.tar.gz 
-rw-r--r-- graeme/staff  23145 Apr 17 11:00 1996 fig1.ps
-rw-r--r-- graeme/staff 848606 Apr 17 15:27 1996 fig10.ps
-rw-r--r-- graeme/staff  11253 Apr 17 11:00 1996 fig11.ps
-rw-r--r-- graeme/staff 1013152 Apr 17 11:00 1996 fig12.ps
-rw-r--r-- graeme/staff  888283 Apr 17 11:00 1996 fig13.ps

gzip: stdin: unexpected end of file
tar: Unexpected EOF on archive file
tar: Child returned status 1

I realise that fig13.ps is probably dead, but is there a way to get
past the error and recover subsequent files?

Thanks,

Graeme

-- 
| Graeme A Stewart, pgp public key  finger [EMAIL PROTECTED]|
|  Key fingerprint =  AF C7 BF A4 52 D5 3C 3B  17 A5 62 43 DA 15 E8 97  |
|   Keep a good head, and always carry a lightbulb.   Dylan   |


Re: gzip repair

1997-03-06 Thread Martin Stromberg
 
 Does anyone know if there exists a utility to try and repair dammaged
 gzip files? I have a tar.gz with 13 postscript files which were
 generated with an MSDOG graphics programme in the Dark Days,
 unforunately when I gunzip I get
 
 $ tar -xvzf figures.tar.gz 
 -rw-r--r-- graeme/staff  23145 Apr 17 11:00 1996 fig1.ps
 -rw-r--r-- graeme/staff 848606 Apr 17 15:27 1996 fig10.ps
 -rw-r--r-- graeme/staff  11253 Apr 17 11:00 1996 fig11.ps
 -rw-r--r-- graeme/staff 1013152 Apr 17 11:00 1996 fig12.ps
 -rw-r--r-- graeme/staff  888283 Apr 17 11:00 1996 fig13.ps
 
 gzip: stdin: unexpected end of file
 tar: Unexpected EOF on archive file
 tar: Child returned status 1
 
 I realise that fig13.ps is probably dead, but is there a way to get
 past the error and recover subsequent files?

Not necessarily so. Perhaps gunzip figures.tar.gz followed by tar -xvf 
figures.tar works out all right.

I think some earlier version of tar or gzip didn't handle the situation 
correctly when piping between them. However one by one it worked anyway.

Or are you sure that there ought to be more files in the archive file?

 Thanks,
 
 Graeme


Zum-zum,

MartinS.


Re: gzip repair

1997-03-06 Thread Graeme Stewart
 Martin == Martin Stromberg [EMAIL PROTECTED] writes:

  Does anyone know if there exists a utility to try and repair
 dammaged gzip files?

Martin Not necessarily so. Perhaps gunzip figures.tar.gz
Martin followed by tar -xvf figures.tar works out all right.

I have tried that, I get a unexpected EOF error when gunziping, so
it's definately a corruption of the gzip file. There are definately 13
files in the tar archive. I even tried reading the binary into Emacs
using the hexl mode, but to no avail.

Thanks for the suggestion, though.

Graeme

-- 
| Graeme A Stewart, pgp public key  finger [EMAIL PROTECTED]|
|  Key fingerprint =  AF C7 BF A4 52 D5 3C 3B  17 A5 62 43 DA 15 E8 97  |
|   Keep a good head, and always carry a lightbulb.   Dylan   |


Re: gzip repair

1997-03-06 Thread root

 
 Martin Not necessarily so. Perhaps gunzip figures.tar.gz
 Martin followed by tar -xvf figures.tar works out all right.
 
 I have tried that, I get a unexpected EOF error when gunziping

Maybe `gzip -dc figures.tar.gz  somename.tar` (and tar afterwards) will do 
better? -- just a thought...
 
Dimitri