Menu ▾ ▴

#205 /usr/bin/7z: Flat extract creates empty directories

v1.0 (example)
open
nobody
None
5
2018-01-26
2018-01-26
No

Hi,

I'm forwarding another bug from Debian. In short its reporter complains that
7z e somefile.7z
creates unneeded empty directories.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888390 :

Package: p7zip-full
Version: 16.02+dfsg-4
Severity: normal
File: /usr/bin/7z
Tags: a11y

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

  • What led up to the situation?

Extrating files "flat" (no directory structure wanted)

  • What exactly did you do (or not do) that was effective (or
    ineffective)?

7z e some_file.7z

  • What was the outcome of this action?

It created empty directories

  • What outcome did you expect instead?

Not to create directories.

Please note that "7z x some_file.7z" does work as expected (creating directories WITH content).

Also that unrar has a similar syntax, and there "unrar e some_file.rar" does NOT create (let alone empty) directories, as expected.

*** End of the template - remove these template lines ***

Regards,
robert

Discussion


Log in to post a comment.