re[2]: [SLE] tar question
Have you tried: cd tmp_root chroot . tar xf opt.tar Seems to me it will do what you want. Greg Freemyer Internet Engineer Deployment and Integration Specialist Compaq ASE - Tru64 Compaq Master ASE - SAN Architect The Norcross Group www.NorcrossGroup.com
On Thursday 16 May 2002 06:07, Christopher Mahmood wrote:
* Clayton Cornell (c.cornell@chello.nl) [020515 20:48]:
Is there anyway I can redirect the tar to extract to /home/username/opt (or some variation of that directory structure)?
'tar xf opt.tar' will strip the leading '/', even if the archive was created with '-P'.
Hmmm no success. It still insists on untarring to /opt/appname - unless I
misunderstood the instruction above. I tried gtar at work today too (suggestion from someone else) and no success with that either. gtar would do nothing on the tar file. Typed in gtar -x file.tar and it woudl just sit there blinking at me until I Ctrl-C'ed it.. I am beginning to think I will have to untar it on a another machine I have root access to and re-tar it without the leading '/'. Seems odd to me that it is so difficult to override the file path in a tar file.
C.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the archives at http://lists.suse.com
participants (2)
-
Christopher Mahmood
-
Greg Freemyer