Use GNU tar (gtar) to extract the tarball. By default it will strip absolute paths (leading /). So, you can
go to some directory, gtar -x... to extract to there(.) and then move things wherever you want them.
GNU tar is delivered in the SUNWgtar package and normally it goes to /usr/sfw/bin/gtar
Main Topics
Browse All Topics





by: jleviePosted on 2005-12-26 at 10:47:30ID: 15551665
I don't know of a way to repath data from a tar archive as it is being extracted. However you can do:
mkdir /temp-place
cd /temp-place
tar xvf ....
mv usr/local/* /mount1