Re: Tar/Zip/Rar trouble

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

 



Am Fr, den 30.04.2004 schrieb J.L. Coenders um 11:24:
> I have now tried it from the command line and 
> $ tar tzf mytar.tgz
> gives:
> 
> gzip: stdin: invalid compressed data--format violated
> tar: Child returned status 1
> tar: Error exit delayed from previous errors
> 
> Any ideas?

I think you first want to ctar and compress. "tar tzf" is the command to
test an existing tar.gz ball.

tar czvf Mail.backup.tar.gz ~/Mail
--> will produce your backup file

tar tzvf Mail.backup.tar.gz
--> will print you out the content of the backup file, but will not
deflate it

Instead of parameter z which stands for using gzip you can use j which
stands for bzip2. See "man tar" and "tar --help".

tar cjvf Mail.backup.tar.bz2 ~/Mail
--> will better compress than using gzip

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2188.nptl
Sirendipity 13:34:47 up 3 days, 12:23, load average: 0.41, 0.60, 0.47 
                   [ ÎÎÏÎÎ Ï'ÎÏÏÎÎ - gnothi seauton ]
             my life is a planetarium - and you are the stars

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux