tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* tar & placing files in a new directory
@ 1997-01-22 17:35 Colin Brooks
  0 siblings, 0 replies; 2+ messages in thread
From: Colin Brooks @ 1997-01-22 17:35 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* tar & placing files in a new directory
@ 1997-01-22 17:35 Colin Brooks
  0 siblings, 0 replies; 2+ messages in thread
From: Colin Brooks @ 1997-01-22 17:35 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-01-22 17:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-22 17:35 tar & placing files in a new directory Colin Brooks
  -- strict thread matches above, loose matches on Subject: below --
1997-01-22 17:35 Colin Brooks

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