1753368 Members
5158 Online
108792 Solutions
New Discussion юеВ

HP 11.11

 
SOLVED
Go to solution
rmueller58
Valued Contributor

HP 11.11

have a quick tar extraction question

Have a tar file, created with a full path in it..

I want to extract to specific subdirectory rather then the full path extraction.. Is there a way to do this and if yes, how?

PS I used -cvf to create the tar
3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: HP 11.11

With regular HP-UX tar, no.

However, you can use pax to do read the tar file and do what you want.

Have a look at the pax man page for examples.
rmueller58
Valued Contributor

Re: HP 11.11

Thanks Patrick.

I didn't think so..
rmueller58
Valued Contributor

Re: HP 11.11

Thanks