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

Malcolm Boekhoff Malcolm.Boekhoff@actfs.co.uk
Mon Nov 13 05:32:00 GMT 2000


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
...

P.S. There is no problem with, e.g. cdrecord-1.9.tar.gz, because that archive
list the files without the "./" prefix.




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list