unzip - known problem?

Igor Pechtchanski pechtcha@cs.nyu.edu
Thu Apr 24 20:57:00 GMT 2003


On Thu, 24 Apr 2003, Gerrit P. Haase wrote:

> Hallo Gary,
>
> Am Donnerstag, 24. April 2003 um 16:31 schriebst du:
>
> > Let's say I have a .zip file, test.zip, that contains the following:
> >         test/cat.exe
> >         test/cat/mouse.exe
>
> > If I do "unzip test.zip" (in an otherwise empty directory), I get the
> > following error:
> >     checkdir error:  test/cat exists but is not directory
> >                      unable to process test/cat/.
>
> $ ls -R
> .:
> cat/  cat.exe*
>
> ./cat:
> mouse.exe*
>
> $ zip -r test .
>   adding: cat/ (stored 0%)
>   adding: cat/mouse.exe (stored 0%)
>   adding: cat.exe (stored 0%)
>
> $ unzip test.zip
> Archive:  test.zip
>    creating: cat/
>  extracting: cat/mouse.exe
>  extracting: cat.exe
>
> Works for me (tm).
> Gerrit

Gerrit,

It doesn't work if "cat.exe" precedes the "cat/" directory in the archive.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list