...And then I found this: http://stupidunixlinuxtricks.blogspot.com/2008/03/be-careful-of-solaris-tar-command.html
Huh. I tried -C, and it didn't seem to work! Or at least, not the way I expected?
On Fri, Aug 19, 2011 at 10:25 PM, Sean Cody <sean@tinfoilhat.ca> wrote:
Try tar xvf file.tar -C /tmp/someotherroot/
> _______________________________________________
On 2011-08-19, at 7:19 PM, Kevin McGregor wrote:
> I have a TAR file (well, many) created with Solaris 10. I can restore it under same, but it seems the Solaris version of tar doesn't give you the option of stripping the leading "/" when restoring, which is a slight problem for my situation.
>
> Did I miss something, and it can restore to a relative path after all?
> Does anyone have any other suggestions, such as other utilities to use or even OSs with a more flexible tar that can mount a UFS slice?
>
> Kevin
> Roundtable mailing list
> Roundtable@muug.mb.ca
> http://www.muug.mb.ca/mailman/listinfo/roundtable
--
Sean
_______________________________________________
Roundtable mailing list
Roundtable@muug.mb.ca
http://www.muug.mb.ca/mailman/listinfo/roundtable