From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076450423346.tru64-unix-managers.marc@archive.invalid> From: Colin Brooks Date: Wed, 22 Jan 1997 17:35:11 +0000 To: tru64-unix-managers Subject: tar & placing files in a new directory X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076450423346 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 ****************************************************