[TriLUG] retrieving a tar from tape
Scott Chilcote
scottchilcote at earthlink.net
Tue May 18 12:30:05 EDT 2004
Byarlay, Wayne A. wrote:
>>This is why the directory where you create the archive from is very
>
> important - it will be extracted to the same path.
> This is true for all but the initial "/" if you use an absolute path -
> it is removed (i.e.
> made relative) by default
>
> Aha... did not understand that... so it's going to extract to the
> original location, not the "current" location? OK.
By default, the archive will extract below the directory where you untar
it using the relative path that was stored on the tape.
For example, if you tarred /usr, then untarred in /tmp, you'd wind up
with all of the directories that occur below /usr in /tmp.
You can override this using "-P" when you create the archive.
--
Scott C.
More information about the TriLUG
mailing list