From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076450423360.tru64-unix-managers.marc@archive.invalid> From: Colin Brooks Date: Wed, 22 Jan 1997 23:30:14 +0000 To: tru64-unix-managers Subject: SUMMARY: tar & placing files in a new directory X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076450423360 Many thanks to the 17 people who have responded so far! Most of the messages pointed to the same solution; the one from Dick Abraham summarises them well: "tar -xvs will strip the leading slashes from the restored path names. Which will give you what you want tar -xvP /mnt/giss will remove the /mnt/giss from the restored path names. Which will also do what you want." I tried the "tar -xvs" option and I was able to untar the files onto my /ibm/pe/data/sonomagis directory just fine. It did leave me with a very long pathname before I got to the data (/ibm/pe/data/sonomagis/mnt/giss/gisdata/lotlines), but that was okay with me. I think if I have used the second solution (tar -xvP /mnt/giss/gisdata), I could have shortened the path name. Thanks again to this great list, Colin **************************************************** Colin Brooks GIS Program Analyst Integrated Hardwood Range Management Program Hopland Research & Extension Center 4070 University Rd. Hopland, CA 95449 Primary #'s - TEL:(707)744-1270 FAX:(707)744-1040 Work E-mail: cbrooks@nature.berkeley.edu http://www.pacific.net/~cbrooks/gis1.htm I'm also found at: ESPM, University of California - Berkeley 160 Mulford Hall Berkeley, CA 94720-3114 Secondary #'s - TEL: 510-643-1136 FAX: 510-643-5438 ****************************************************