Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!fluke!ssc-vax!ray3rd From: ray3rd@ssc-vax.UUCP (Ray E Saddler III) Newsgroups: comp.unix.questions Subject: Re: extracting tar files with absolute pathnames relatively Summary: Use a [symbolic if needed] link... Keywords: tar pathname Message-ID: <2620@ssc-vax.UUCP> Date: 21 Apr 89 17:26:26 GMT References: <1501@cfa205.cfa250.harvard.edu> Organization: Boeing Aerospace Corp., Seattle WA Lines: 20 In article <1501@cfa205.cfa250.harvard.edu>, todd@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