This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Does anyone know why tar doesn't like "./" at the start of files?


> --- Malcolm Boekhoff <Malcolm.Boekhoff@actfs.co.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@yahoo.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]