delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/13/12:35:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <02aa01c04d98$a690d050$275c100a@actfs.co.uk>
From: "Malcolm Boekhoff" <Malcolm DOT Boekhoff AT actfs DOT co DOT uk>
To: "Cygwin News Group" <cygwin AT sources DOT redhat DOT com>
References: <20001113172336 DOT 21934 DOT qmail AT web106 DOT yahoomail DOT com>
Subject: Re: Does anyone know why tar doesn't like "./" at the start of files?
Date: Mon, 13 Nov 2000 17:39:19 -0000

> --- Malcolm Boekhoff <Malcolm DOT Boekhoff AT actfs DOT co DOT uk> wrote:
> > Does anyone know why tar doesn't like "./" at the start of files?
> >
> > I can't get Pine to extract, because the files are prefixed with "./":
> >
> > I can list the files:
> >
> > Mon Nov 13-13:31:22 / 501$ tar tvzf /d/zip/pine4.21.tar-2.gz |head
> > drwxr-xr-x mikes/staff       0 1999-11-17 18:17 ./pine4.21/
> > -rw-r--r-- mikes/staff    2866 1999-01-06 16:30 ./pine4.21/CPYRIGHT
> > -rw-r--r-- mikes/staff    1390 1998-09-22 22:20 ./pine4.21/README
> > drwxr-xr-x mikes/staff       0 1999-02-05 17:38 ./pine4.21/bin/
> > -rwxr-xr-x mikes/staff   11690 1999-11-15 22:16 ./pine4.21/build
> > -rwxr-xr-x mikes/staff    6039 1996-03-15 18:02 ./pine4.21/build.cmd
> > drwxr-xr-x mikes/staff       0 1999-02-05 17:38 ./pine4.21/contrib/
> > drwxr-xr-x mikes/staff       0 1999-11-17 17:46 ./pine4.21/contrib/ports/
> > drwxr-xr-x mikes/staff       0 1999-02-05 17:38 ./pine4.21/contrib/ports/vms/
> > -rw-r--r-- mikes/staff    3756 1994-08-09 18:01
> > ./pine4.21/contrib/ports/vms/readme.vms
> >
> > I just can't extract them:
> >
> > Mon Nov 13-13:31:13 / 500$ tar xvzf /d/zip/pine4.21.tar-2.gz
> > ./pine4.21/
> > tar: ./pine4.21: Could not create directory: No such file or directory
> > ./pine4.21/CPYRIGHT
> > ...
>
> What happens if you `tar -Pxvzf /d/zip/pine4.21.tar-2.gz'?

I get the same output:

Mon Nov 13-17:36:33 / 506$ tar Pxvzf /d/zip/pine4.21.tar-2.gz
./pine4.21/
tar: ./pine4.21: Could not create directory: No such file or directory
./pine4.21/CPYRIGHT
tar: ./pine4.21/CPYRIGHT: Could not create file: No such host or network path
./pine4.21/README
tar: ./pine4.21/README: Could not create file: No such host or network path
./pine4.21/bin/
tar: ./pine4.21/bin: Could not create directory: No such host or network path
./pine4.21/build
tar: ./pine4.21/build: Could not create file: No such host or network path
./pine4.21/build.cmd

>
> Cheers,
>
> =====
> Earnie Boyd
> mailto:earnie_boyd AT yahoo DOT com
>
> ---         <http://earniesystems.safeshopper.com>         ---
> --- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
> ---   Minimalist GNU for Windows <http://www.mingw.org/>   ---
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Calendar - Get organized for the holidays!
> http://calendar.yahoo.com/




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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