Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!garnet.berkeley.edu!ked From: ked@garnet.berkeley.edu (Earl H. Kinmonth) Newsgroups: comp.unix.questions Subject: Re: extracting tar files with absolute pathnames relatively Keywords: tar pathname links mirrors slight-of-hand Message-ID: <23716@agate.BERKELEY.EDU> Date: 28 Apr 89 04:18:07 GMT References: <1501@cfa205.cfa250.harvard.edu> <2620@ssc-vax.UUCP> <202@psgdc> <2626@ssc-vax.UUCP> Sender: usenet@agate.BERKELEY.EDU Organization: University of California, Berkeley Lines: 16 The simplest solution to this is to get a copy of pdtar from me. pdtar has several options to change file names. -A simply removes the first "/" to give a relative path name. -Pnn allows specifying how many "/dir" elements are to be removed. pdtar runs under SCO Xenix, MSDOS, 2.9-4.3 UNIX, etc. Disclaimer: Programming is too important to leave to programmers! Earl H. Kinmonth History Department University of California, Davis 916-752-1636 (voice, fax [2300-0800 PDT]) 916-752-0776 secretary ucbvax!ucdavis!ucdked!cck