From: chl_william@hotmail.com
Subject: Re: tar -C command on DEC Unix 4.0
Date: 1998/06/29 [thread overview]
Message-ID: <6n6tf3$hkd$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 3593B961.41D6E142@EUnet.yu
In article <3593B961.41D6E142@EUnet.yu>,
Nikola Milutinovic <milutinn@EUnet.yu> 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
next prev parent reply other threads:[~1998-06-29 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-26 4:00 tar -C command on DEC Unix 4.0 chl_william
1998-06-26 4:00 ` Nikola Milutinovic
1998-06-29 4:00 ` chl_william [this message]
1998-06-29 4:00 ` Rich Lafferty
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