Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #14413
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Newsgroups | comp.lang.php |
| Subject | Re: unzip without extracting directory |
| Date | Mon, 27 Oct 2014 13:36:11 +0100 |
| Organization | PointedEars Software (PES) |
| Lines | 35 |
| Message-ID | <2502445.CBHX9Wh9Va@PointedEars.de> (permalink) |
| References | <m1l7sb$3fa$1@news.albasani.net> <3921955.eAtPLq5odn@PointedEars.de> <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> |
| Reply-To | Thomas 'PointedEars' Lahn <php@PointedEars.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | 8Bit |
| X-Trace | solani.org 1414413372 17605 eJwNxsEBwCAIA8CVQEiUcQBl/xHaex2Myt5O0DEYxx9ppXX4vu/UkpXpMpQrqDDOW8bC0SjJDwRJEGM= (27 Oct 2014 12:36:12 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Mon, 27 Oct 2014 12:36:12 +0000 (UTC) |
| User-Agent | KNode/4.14.1 |
| X-User-ID | eJwVx8kRADEIA7CWchiHlAOG9F/Czuon25zUAY2wZ28twXswT3lzzBGzoaLnhbSRFnIqKrSy/5+tB9zLqtP1AV7pFlE= |
| Cancel-Lock | sha1:u1wQgOiPRO7VVX3rzWXk+IOGzeY= |
| X-NNTP-Posting-Host | eJwFwYEBACAEBMCV4nkaR8r+I3TnoLDD6DQfnzJNprjYPX3kKNaebmD44Mi3IkOLVsO8Wz8QnBCl |
| Xref | csiph.com comp.lang.php:14413 |
Show key headers only | 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
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