[CentOS] tar and gunzip help

ML

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


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



More information about the CentOS mailing list