This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Does anyone know why tar doesn't like "./" at the start of files?
- To: Malcolm Boekhoff <Malcolm dot Boekhoff at actfs dot co dot uk>, Cygwin News Group <cygwin at sources dot redhat dot com>
- Subject: Re: Does anyone know why tar doesn't like "./" at the start of files?
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Mon, 13 Nov 2000 09:23:36 -0800 (PST)
--- 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'?
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