Re: how to recover damaged tar files?
On Mon, 21 May 2001 10:09:40 +0200 Lars Knudsen [EMAIL PROTECTED] wrote: Erik Alvarez wrote: Hi, when trying to decompress a tar file I get this error. Can someone tell if there is a way to fix it or is the file lost? [EMAIL PROTECTED]:~$ tar -ixvf backup.tar Why the -i option ? Normally extracting a tar file can be done without it. I dont see why it should cause problems, but you might want to try without it. It doesn't work either, I use the -i option because it the one that reports a problem, otherwise it just stop saying tar: Error exit delayed from previous errors Thanks -- - Erik Alvarez -
Re: how to recover damaged tar files?
Erik Alvarez wrote: On Mon, 21 May 2001 10:09:40 +0200 Lars Knudsen [EMAIL PROTECTED] wrote: Erik Alvarez wrote: Hi, when trying to decompress a tar file I get this error. Can someone tell if there is a way to fix it or is the file lost? [EMAIL PROTECTED]:~$ tar -ixvf backup.tar Why the -i option ? Normally extracting a tar file can be done without it. I dont see why it should cause problems, but you might want to try without it. It doesn't work either, I use the -i option because it the one that reports a problem, otherwise it just stop saying tar: Error exit delayed from previous errors OK, in that case you might want to try having a look at the file using an editor. Tar files are not compressed, but simply archives of files (tar is short for Tape ARchive) so when you look at a tar file you have a 512byte header, then the contents of the first file, another 512byte header, the contents of the second file etc. etc. Since the first part of the tar file seems ok you should be able to identify the structure and from this you might be able to identify the problem further on in the file. Let me know if you need further info. Happy Hacking, \Gandalf Thanks -- - Erik Alvarez - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to recover damaged tar files?
Erik Alvarez wrote: Hi, when trying to decompress a tar file I get this error. Can someone tell if there is a way to fix it or is the file lost? [EMAIL PROTECTED]:~$ tar -ixvf backup.tar Why the -i option ? Normally extracting a tar file can be done without it. I dont see why it should cause problems, but you might want to try without it. Happy Hacking, \Gandalf
Re: how to recover damaged tar files?
For a file ending with tar use tar -xvf filename.tar gz use tar -xvzf filename.tar.gz bz2 use tar -xvIf filename.tar.bz2 the -p option can be used before f as well, such as tar -xvIpf filename.tar.bz2 Regards Sherab Erik Alvarez wrote: Hi, when trying to decompress a tar file I get this error. Can someone tell if there is a way to fix it or is the file lost? [EMAIL PROTECTED]:~$ tar -ixvf backup.tar Why the -i option ? Normally extracting a tar file can be done without it. I dont see why it should cause problems, but you might want to try without it. Happy Hacking, \Gandalf -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] __ Advertise with ZFREE - to find out more click below http://www.zfree.co.nz/about-us/advert.html
how to recover damaged tar files?
Hi, when trying to decompress a tar file I get this error. Can someone tell if there is a way to fix it or is the file lost? [EMAIL PROTECTED]:~$ tar -ixvf backup.tar BACKUP/ BACKUP/Rik/ BACKUP/Rik/Rogelio.doc tar: Skipping to next header BACKUP/Rik/xp-50/5,svq tar: Skipping to next header tar: Archive contains `rik' where numeric mode_t value expected tar: Archive contains `s' where numeric time_t value expected tar: : Cannot open: No such file or directory tar: Skipping to next header tar: : Cannot open: No such file or directory tar: Skipping to next header tar: Archive contains `\311S}D\301\002' where numeric mode_t value expected tar: Archive contains `\b\000\000\000\263\030' where numeric uid_t value expected tar: Archive value 207545706796100 is out of gid_t range 0..4294967295 U5\335D tar: U5\335D: Unknown file type '', extracted as normal file tar: Skipping to next header tar: 411 garbage bytes ignored at end of archive tar: Error exit delayed from previous errors Thanks -- - Erik Alvarez -