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

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?
>> 
>> rik@pogo:~$ 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 debian-user-request@lists.debian.org 
>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
>



__________________________________________________
Advertise with ZFREE - to find out more click below
http://www.zfree.co.nz/about-us/advert.html



Reply to: