> >I have got two file with a .tar extension:
> > file1.tar.gz
> > file2.tar.Z
> >How to use this with the command tar?
> gunzip file1.tar.gz
> tar xf file1.tar
> gunzip file2.tar.Z OR uncompress file2.tar.Z
> tar xf file2.tar
(not all Unixes have gzip/gunzip/gzcat, all have compress/uncompress/zcat,
which for me remains a good reason to use .Z and not .gz files)
Also and anyhow, the above commands can also be combined in a pipeline,
avoiding the creation of the uncompressed file on disk :
gzcat file1.tar.gz | tar xvf -
zcat file2.tar.Z | tar xvf -
^this minus (meanign standard input) is
necessary !!
----------------------------------------------------------------------------
Lucio Chiappetti - IFCTR/CNR - via Bassini 15 - I-20133 Milano (Italy)
----------------------------------------------------------------------------
Fuscim donca de Miragn E tornem a sta scio' in Bregn
Che i fachign e i cortesagn Magl' insema no stagn begn
Drizza la', compa' Tapogn (Rabisch, II 41, 96-99)
----------------------------------------------------------------------------
For more info : http://www.ifctr.mi.cnr.it/~lucio/personal.html
----------------------------------------------------------------------------