On Thursday 01 February 2001 13:56, you wrote:
> Is there a easier way to uncompress these stupid files?
> gunzip -d  filename.tar.gz
> tar who knows how this stupid thing works..
> tar -x filename.tar    this just locks up and have to Ctrl c out
>
> Running redhat ver.6
>
> Can't I run one thing to totaly uncomress these?  Why are they double
> compressed?



John..
It is a very simple task. Just run  ' tar xvzf  file.tar.gz'  and that does 
it.  And to create a tar.gz file just run ' tar cvzf name.tar.gz ' followed 
by the name of the file(s) that you want to compress. Works 'slick'!!

Also, you can use tar to look at your files. Just do  ' tar tzvf file.tar.gz' 
and the contents will be listed. Really simple.  Just think of 'tar'
as being the engine that runs things and then the switches are the keys to 
doing the job. For example if you  are Xtracting files use  'tar xvzf '  and 
if you are Creating tarred files use:  'tar cvzf' plus the file name and then 
the files to be compressed. So othe keys are 'x' and 'c'.  

Also, the  'v' is for verbose and the 'z' is for compression type.

Hope this helps..


>
> John
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

-- 
Ted Gervais
Coldbrook, Nova Scotia Canada





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to