It can only create one level of destination path with -d.
However, it then creates all other levels from the archive
itself.
--- "Sherlock, Ric" <[EMAIL PROTECTED]> wrote:
> I have used 7zip until j602 (which includes Info-ZIPs unzip as part of
> the installation). I was integrating it into some of my routines and
> have had some problems with differences in functionality between 7zip &
> unzip. Specifically it seems that unzip can't/doesn't create a deep
> non-existing path to unzip a zip file into.
>
> So if the directory c:\test exists and is empty and I want to unzip a
> zip file into the directory c:\test\subdir1\subdir2
>
> unzip -o -C myzip.zip -d c:\test\subdir1\subdir2
>
> doesn't work ("cannot create extraction directory"), but the following
> does.
>
> unzip -o -C myzip.zip -d c:\test\subdir1
>
> Can anyone confirm this? Is there a switch(s) that will enable this
> behavior?
> The alternative is obviously to ensure the path exists before I call
> unzip.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm