tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Colin Brooks <cbrooks () nature ! berkeley ! edu>
To: tru64-unix-managers
Subject: SUMMARY: tar & placing files in a new directory
Date: Wed, 22 Jan 1997 23:30:14 +0000	[thread overview]
Message-ID: <96076450423360.tru64-unix-managers.marc@archive.invalid> (raw)

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
****************************************************

                 reply	other threads:[~1997-01-22 23:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox