Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!snorkelwacker!apple!agate!athena.berkeley.edu!ucbked From: ucbked@athena.berkeley.edu (Earl H. Kinmonth) Newsgroups: comp.unix.questions Subject: Re: Trashed Tar tape Message-ID: <1990Sep21.040258.16669@agate.berkeley.edu> Date: 21 Sep 90 04:02:58 GMT References: <24568@adm.BRL.MIL> Sender: usenet@agate.berkeley.edu (USENET Administrator) Organization: Centre for Japanese Studies, Univ. of Sheffield Lines: 12 [How to recover a damaged tar tape when the damage is at the header.] This is a common enough problem that one would think that someone would add this as an option to tar. [k]tar, my heavily modified version of GNUtar (of serveral years) ago has a recovery option built in. It will skip blocks until it finds one that passes the header check sum test and then start extracting. A more sophisticated approach would be to allow looking for file names and trying the block in which a pattern is found as a header.