Re: Tar Tape Restore

From: Mats Rynge (mats@AIXPDSLIB.SEAS.UCLA.EDU)
Date: Thu Aug 22 2002 - 11:33:33 EDT


* Mark Monroe <mark.monroe@FORMSANDSUPPLY.COM> [2002-08-22 10:26:53 -0400]:
> I need to tar restore these files onto my system -- but -- I need to restore
> the files to a different path. I am having problems finding some doc that
> gives me the proper statement to do this.

GNU tar strips the leading / for you. According to the man page, you
actually have to give it a flag to _keep_ the /:

       -P, --absolute-paths
                     don't strip leading `/'s from file names

--
Mats Rynge
Aixpdslib  --  http://aixpdslib.seas.ucla.edu


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:10 EDT