[CentOS] tar and gunzip help

Boris Epstein borepstein at gmail.com
Fri Aug 21 19:32:02 UTC 2009


On Fri, Aug 21, 2009 at 3:16 PM, ML <mailinglists at mailnewsrss.com> 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.
>
> 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
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

Do you mean to say that the filenames within the tar archive(s) are
hard-coded all the way from "/" down?

Boris.



More information about the CentOS mailing list