Re: tar and gunzip help

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



ML wrote:
> HI All,
>
> I have a directory tree that when the user un-gzips/untars it does  
> into /opt by default.
>
> The directory tree is like:
>
> ugui
> |
> |-- <misc files>
> |-- source
> |-----framework
> |------ <misc files>
>
> so when unzipped I want to end it with /opt/ugui and all the stuff  
> below it.
>   

I'm not sure what you are asking here.  If you cd to /tmp and untar the
file, what does it do?

> How do I do this? Can I also issue one command that will unzip and  
> untar the archive at the same time? (I know I can, I just cant get it  
> right)
>   

You can unzip and untar with "tar xzf filename" with a recent version of
tar.

-- 
Bowie
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux