Tar/Zip/Rar trouble

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Fri Apr 30 11:39:13 UTC 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040430/11c6f4a1/attachment-0001.sig>


More information about the fedora-list mailing list