Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14413

Re: unzip without extracting directory

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.php
Subject Re: unzip without extracting directory
Date 2014-10-27 13:36 +0100
Organization PointedEars Software (PES)
Message-ID <2502445.CBHX9Wh9Va@PointedEars.de> (permalink)
References (2 earlier) <m1n970$fud$1@dont-email.me> <4568324.GT5VcWPXNi@PointedEars.de> <m2ajae$kqu$1@dont-email.me> <2355890.eN34QP5rFt@PointedEars.de> <m2c5ea$a4t$1@dont-email.me>

Show all headers | View raw


Jerry Stuckle wrote:

> On 10/23/2014 12:44 PM, Thomas 'PointedEars' Lahn wrote:
>> Jerry Stuckle wrote:
>>> I gave a much better solution. [abuse snipped]
>>
>> You have suggested, in words, but not at all in code, to extract to a
>> temporary directory and then move all files under the contained
>> directory. In which way is that “much better” than extracting the files
>> (including the directories) under the contained directory directly?
> 
> Which is the correct answer.

There is not *the* *single*, correct, answer here.  There are *several* ways 
in which the posed problem can be approached; there are at least two.  You 
have suggested a different approach than I did (again, I am fully aware that 
the code I have referred to does not, *as it is*, solve the problem; it is a 
good start though).  Fair enough.  I have asked you above in which way you 
think your approach is better.  You have still not answered that question.

Do you even have *solid* arguments *why* your approach is the better one?

> But you still don't understand the question,

How did you get that idea?

> so there is no way you can provide an answer.

Ex falso quodlibet.
 
-- 
PointedEars
Zend Certified PHP Engineer
Twitter: @PointedEars2
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

unzio without directory Jan Novak <repcom@gmail.com> - 2014-10-15 09:30 +0200
  Re: unzio without directory Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-15 06:18 -0400
    Re: unzio without directory Jan Novak <repcom@gmail.com> - 2014-10-15 12:54 +0200
      Re: unzio without directory Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-15 12:17 -0400
  unzip without extracting directory (was: unzio without directory) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-16 04:00 +0200
    Re: unzip without extracting directory Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-15 22:06 -0400
      Re: unzip without extracting directory Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-23 05:57 +0200
        Re: unzip without extracting directory Jan Novak <repcom@gmail.com> - 2014-10-23 08:32 +0200
          Re: unzip without extracting directory Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-23 05:56 -0400
        Re: unzip without extracting directory Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-23 05:55 -0400
          Re: unzip without extracting directory Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-23 18:44 +0200
            Re: unzip without extracting directory Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-23 20:10 -0400
              Re: unzip without extracting directory Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-27 13:36 +0100

csiph-web