http://bugs.openzim.org/show_bug.cgi?id=24
--- Comment #4 from Emmanuel Engelhart emmanuel@engelhart.org 2010-09-30 08:13:31 CET --- My examples are not so good, tar has the root directory in the file and unzip has exactly the same problem as zimdump.
What I want to say is if you have a tgz or zip, nobody (except unzip) ask you to create first a directory (default usage) before unpacking the content. tar creates it like it is defined in the file and zip archiver creates it based on the filename. This is true unzip does not work like that at all, and this is really not handfull to use it, because this is common in zip not packaging the root directory itself but only the content.
I will not reopen this bug because this is a minor point, but I think this is not OK to close a feature request without giving at least one argument.
At least please display an error message which is more explicit.