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: tar & placing files in a new directory
Date: Wed, 22 Jan 1997 17:35:11 +0000	[thread overview]
Message-ID: <96076450423349.tru64-unix-managers.marc@archive.invalid> (raw)

Hello managers.  Having summarized the backup solution people helped me
with, I thought I would ask my next "newbie" question...

I have an 8mm tape that someone wrote a lot of data to with the following
command:
"tar cvf /dev/rmt/ohmb /mnt/giss/gisdata/lotlines/*lot.dwg"

Using the "tar -tv" command, I can see that several hundred files were
written to the tape.

I would like to restore these files to my Alphastation, but not to the
/mnt/giss/gisdata/lotlines directory.  Instead, I would like to "untar"
these files to the /ibm/pe/data directory (it's okay with me if the
/mnt/giss/gisdata/lotlines pathname gets appended to /ibm/pe/data).  When I
issue the "tar -xv" command from the /ibm/pe/data directory, tar tries to
restore the files to /mnt/giss/gisdata/lotlines directory.  This doesn't
work as I'm logged on as "cbrooks", and I can't restore the files to that
location (the location doesn't exist anyway).  If I try restoring the files
as "root", tar sticks the files in / (root directory), and / quickly fills up.

So... can I get tar to place these files in another directory?  I tried
checking the man page on tar, but I couldn't figure it out.

Thanks,
Colin Brooks


****************************************************
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 17:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-22 17:35 Colin Brooks [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-01-22 17:35 tar & placing files in a new directory Colin Brooks
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