From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,3c8ffadb41de6f82 X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,3c8ffadb41de6f82 X-Google-Attributes: gidfee84,public From: chl_william@hotmail.com Subject: Re: tar -C command on DEC Unix 4.0 Date: 1998/06/29 Message-ID: <6n6tf3$hkd$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 366980353 References: <6mvasc$ldg$1@nnrp1.dejanews.com> <3593B961.41D6E142@EUnet.yu> X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95) Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Mon Jun 29 02:17:07 1998 GMT Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 In article <3593B961.41D6E142@EUnet.yu>, Nikola Milutinovic wrote: > > chl_william@hotmail.com wrote: > > > > Hi, > > > > I wonder if someone can help me to restore my archive file created by > > the following tar command on DEC Unix 4.0b > > > > tar cpvf /dev/rmt1h -C /u01/data . - /u02/data . > > > > When I use tar command to restore the files, ALL the files were restored > > under my current directory which resulted in a disk full situation i.e. > > ALL the directory structure information were gone. > > With this you actually have no absolute path info. And unless tar stores > the information that it changed its CWD (-C option), in the archive, on > that very spot, you're stuck. > > Try listing the archive with "tar t", see if there is a mark (I doubt > it). Try manually creating file list of the first "save set" and > extracting just those files. > > What can I say, nice mess. Like you did "cp -r /u02/data/* /u01/data ; > tar /u01/data" > > Good luck. > > Nix. > > when I did the "tar t", there is NO directory information at all. Gee, I guess I have to do a "cd" to each directory and "tar" each file in that directory one by one. I am totally disappointed with this -C option and I can't see any benifit on using this stupid option at all. Also, when I talked to DEC Support, the answer I got is something like you should have tested the command and options first before you use it and now you are on your own. May be that is the reason why Digital is gone. -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum