OS4 DepotLogo by DaveyD 
(anonymous IP: 18.190.253.56,2258) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Utility » Filetool » gzrt.lha

Gzrt

Description: Recover files from broken gzip archives
Download: gzrt.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 30kb
Version: 0.5
Date: 15 Nov 2007
Author: Aaron M. Renn, AmigaOS3 compile by megacz@usa.com, AmigaOS 4.0 compile by Spot / Up Rough
Submitter: Spot / Up Rough
Email: spot/triad se
Category: utility/filetool
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 3167
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 331  (Current version)
331  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
gzrecover - Recover data from a corrupted gzip file

gzrecover is a program that will attempt to extract any readable data
out of a gzip file that has been corrupted. 

*****************************************************************************
ATTENTION!!!!  99% of "corrupted" gzip archives are caused by transferring
the file via FTP in ASCII mode instead of binary mode.  Please re-transfer
the file in the correct mode first before attempting to recover from a file
you believe is corrupted.
*****************************************************************************

It is highly likely that not all data in the file will be successfully
retrieved.  In the event that the compressed file was a tar archive, the
standard tar program will probably not be able to extract all of the 
files in the recovered file, so you will need to use GNU cpio instead.

For compilation and installation instructions see README.build

USAGE:

gzrecover [ -hsv ] [-o <filename>] <filename> 

By default, gzrecover writes its output to <filename>.recovered.  If the
original filename ended in .gz, that extension is removed.  Options include:

-o <name> - Sets the output file name
-s        - Splits each recovered segment into its own file,
            with numeric suffixes (.1, .2, etc) (UNTESTED)
-h        - Print the help message
-v        - Verbose logging on

Running gzrecover on an uncorrupted gzip file should simply uncompress it.
However, substituting gzrecover for gzip on a regular basis is not
recommended.

Any recovered data should be manually verified for validity. 

RECOVERING TAR FILES

If your .gz file is a tar archive, it is likely the recovered file cannot
be processed by the tar program because tar will choke on any errors in 
the file format.  Fortunately, GNU cpio will extract tar files and will
skip any corrupted bytes.  If you don't have GNU cpio on your system,
you can download it from ftp://ftp.gnu.org/pub/gnu/cpio/cpio-2.6.tar.gz
Note that I have only tested with version 2.5 or higher.

To extract files, use the following cpio options:

cpio -F <filename from gzrecover output> -i -v

Note: I previously had patched the GNU tar sources to enable it to
skip corrupted bytes, but that patch has been discontinued because it
is not needed and was only marginally successful at best.

PUTTING IT ALL TOGETHER

Your file foo.tar.gz is on a tape with bad data.  To recover, copy the
tape file to foo.tar.gz and:

gzrecover foo.tar.gz
cpio -F foo.tar.recovered -i -v

No guarantees, but I hope this helps you as much as it helped me!

COPYRIGHT NOTICE 

gzrecover written by Aaron M. Renn (arenn()urbanophile.com)
Copyright (c) 2002-2006 Aaron M. Renn. 

This code is licensed under the same GNU General Public License v2
(or at your option, any later version) at GNU tar.  See
http://www.gnu.org/licenses/gpl.html




Copyright © 2004-2024 by Björn Hagström All Rights Reserved