Ta .tgz den aposympiezontai

Giorgos Keramidas keramida at ceid.upatras.gr
Wed Sep 13 00:19:25 EEST 2000


On Tue, Sep 12, 2000 at 10:01:04PM +0300, Bogiatzis George wrote:
> Exv katebasei diafora .tgz apo to Internet opvs ola ta teyxh toy
> magaz. To katebasma ginetai me Netscape se W98. Otan meta me to Linux
> pao na ta aposymbiesv (eite ston disko tvn W98 eite me copy sto Linux)
> pairnv to mhnyma:
>
> gzip:stdin: invalid compressed data--format violated
>
> Ayto ginetai sto 99% tvn periptvsevn (px: to LGU FAQ aposympiesthke
> kanonika)
>
> Yparxei kammia asymbatothta?  Exv SuSe 6.4

Yes, yes, yes.  We all know about this.

Na peis tou xamenou tou windows browser, oti otan aposumpiezei "on
the fly" to .gz na tou bganei kai to .gz apo to telos.  Giati to allo
to xameno apo 'kei, to gzip ths GNU, mporei na nomisei oti einai
sumpiesmeno to arxeio kai apla na mhn einai.

Pros to paron xrhsimopoihse xwris kamia apolutws feidw tin entoli
file(1) tou Linux sou, gia na blepeis ti einai to kathe arxeio prwta kai
meta apofasizeis an xreiazetai to -z option sto tar, h oxi.  An o
browser to exei aposumpiesei apo .gz kai to ekane .tar, alla krathse to
.gz extension tha deis kati san:

	hades% gzip -d nokia.tar.gz
	gzip: nokia.tar.gz: not in gzip format
	hades% file nokia.tar.gz
	nokia.tar.gz: GNU tar archive

Auto shmainei oti den einai .gz to arxeio, asxeta me to ti leei to
onoma.  Apla `tar xf' thelei kai aposumpiezetai.

- giorgos

--
linux-greek-users mailing list -- http://lists.hellug.gr




More information about the Linux-greek-users mailing list