[CentOS] tar and gunzip help

Fri Aug 21 19:16:41 UTC 2009
ML <mailinglists at MailNewsRSS.com>

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.

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)

Thanks!
-ML