delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/04/04/23:19:06

From: franl AT world DOT std DOT REMOVETHIS DOT com (Francis Litterio)
Subject: Re: Handling ...
4 Apr 1997 23:19:06 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <E84z6y.7G0.cygnus.gnu-win32@world.std.com>
References: <199704040216 DOT UAA31324 AT mushroom DOT pswtech DOT com>
X-Newsreader: Forte Free Agent 1.0.82
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Chris Cowan <cowan AT pswtech DOT com> wrote:

> I have gnutar image that I made in an OSF DFS environment.
> Unfortunately, I made the image with absolute paths, so all of the
> items start with the /... prefix.  I can't untar it because I can't
> create a directory named /... or ...

> I have tried to make folders in NT explorer, the DOS console and under
> bash.   I've also tried to map /... and ... using the mount command.
> None of these work.

> Presently, I stymied.  Does anyone have a suggestion around this
> problem?

Fire up a suitably powerful editor (e.g., NTEmacs) on the tar file,
and carefully change the relevant occurances of /... to /xyz (if none
of the files in the tar file contain the character sequence "/...",
you can globally replace all occurances of that sequence).  Then mkdir
/xyz and untar the file.
--
Francis Litterio                     PGP Key Fingerprint:
franl AT world DOT RemoveThis DOT std DOT com       02 37 DF 6C 66 43 CD 2C
http://world.std.com/~franl/         10 C8 B5 8B 57 34 F3 21
     Email address altered to protect against spamming.

"They that can give up essential liberty to obtain a little temporary 
 safety deserve neither liberty nor safety." -- Ben Franklin, ~1784

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019