extracting tar files with absolute pathnames relatively
Ray E Saddler III
ray3rd at ssc-vax.UUCP
Sat Apr 22 03:26:26 AEST 1989
In article <1501 at cfa205.cfa250.harvard.edu>, todd at cfa250.harvard.edu (Todd Karakashian) writes:
> I am in posession of tapes containing tarfiles with absolute
> pathnames. What I would like to do is to extract these files into a
> different tree structure than they were tarred from. Thus, the
> tarfile /usr/foo/file should go into the disk pathname /temp/file. I
> have been unable to find a way to do this -- does anyone know how?
I've encountered the same scnerio and have used this trick:
Make a link (symbolic in my instance) in the /usr directory. The
link name would be 'foo', and would simply point to /temp.
It works quite nicely.
--
Ray E. Saddler III | __ __ __ __ | UseNet
Boeing Aerospace | / / / // //| // | uw-beaver!ssc-vax!ray3rd
P.O. Box 3999 m.s. 3R-05 | /-< / //- // |// _ | PhoneNet
Seattle, Wa. 98124 USA | /__//_//__ // //__/ | 1+206-657-2824
More information about the Comp.unix.questions
mailing list