delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/30/05:31:21

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=ng6kz/KkovQYehVWnr6MX64B9BGcmbBhrl5fft3OPUo
eA6I+K7zuqg0Js5g+t/80B/syQ7UnrLpF1HIg7Jorg4C3F1054SiV+xRxVtW7gHD
3/QAZO+pgSmlQYUOYc4ynTtQHN4XUV2Cc4UJMvRMOAgBOX1x6VjFN3g8nuUTEyWw
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=itGRJFM0r9mAjFSoTQl4dl+x8Pk=; b=r9l6PP7VdnRT53M+X
6vHAmDlZSJTdx12fHrEDAgal4dvchcvAeSdYQOa08WfPq/FHW2QrdYdg2w241LL9
L89+fnx0hlYjKWrx9OSiUNqaiqR/FGliHhchNJnP5Bv/CScvlVr4TH0gp4pGxgFm
YMLS3qNlzp8XJUWCjLtXtEP8/o=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-lb0-f180.google.com
X-Received: by 10.152.197.35 with SMTP id ir3mr16288512lac.82.1412069452425; Tue, 30 Sep 2014 02:30:52 -0700 (PDT)
Message-ID: <542A784A.9000405@gmail.com>
Date: Tue, 30 Sep 2014 11:30:50 +0200
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Cygwin64, 'unzip -d' misbehaviour vs. Cygwin32
References: <542A6B85 DOT 5030700 AT mwg DOT dp DOT ua>
In-Reply-To: <542A6B85.5030700@mwg.dp.ua>
X-IsSubscribed: yes

On 30/09/2014 10:36, Wladimir Mutel wrote:
>      Dear Marco,
>

Bottom post only and stay on the mailing list, please.

> 1. please try to unpack .zip archive with full absolute path specified
> (i.e. starting from /cygdrive/N)

as mentioned, it makes no differences

$ unzip 
/cygdrive/e/downloads/software/windows_utilities/usb/usbdeview-x64.zip 
-d /cygdrive/c/temp/pippo
Archive: 
/cygdrive/e/downloads/software/windows_utilities/usb/usbdeview-x64.zip
   inflating: /cygdrive/c/temp/pippo/USBDeview.exe
   inflating: /cygdrive/c/temp/pippo/USBDeview.chm
   inflating: /cygdrive/c/temp/pippo/readme.txt

> 2. please try to unpack it into temporary directory generated by 'mktemp
> -d'
> their path start from /tmp and so require resolution through mount table.

$ mktemp -d
/tmp/tmp.vtQwN9a232

$ unzip 
/cygdrive/e/downloads/software/windows_utilities/usb/usbdeview-x64.zip 
-d /tmp/tmp.vtQwN9a232
Archive: 
/cygdrive/e/downloads/software/windows_utilities/usb/usbdeview-x64.zip
   inflating: /tmp/tmp.vtQwN9a232/USBDeview.exe
   inflating: /tmp/tmp.vtQwN9a232/USBDeview.chm
   inflating: /tmp/tmp.vtQwN9a232/readme.txt


> 3. it is not very clear from your example that your archive
> usbdeview-x64.zip is stored outside of /cygdrive/c/

both origin and destination are outside on cygwin tree.

>
>> works fine for me on any relative or absolute destination

Regards
Marco


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019