7-zip bug ? (see bug 1154200 from p7zip)

my space
  • my space

    my space - 2005-03-01

      Hi Igor Pavlov,

    please look at : https://sourceforge.net/tracker/index.php?func=detail&aid=1154200&group_id=111810&atid=660493

    7z from 7-zip 4.15b has the same behaviour that p7zip.
    Is it a bug or a feature ?


    • Stepho

      Stepho - 2005-03-01

      IMHO, the behavior reported is not a bug.

      Extracting using the 'e' command tells 7z to extract every file in the current directory regardless of its original folder.

      The 'x' command extracts using full path.

      May be I've missed something, though...

    • Nobody/Anonymous

      This is not a bug.  It is the expected behaviour of using the 'e' command (Extract without subdirectories), versus the 'x' (eXtract with subdirectories).

      Doesn't anyone RTFM anymore?

      • my space

        my space - 2005-03-01

        I have read the RTFM !

        read again my report and the RTFM and answer to these questions !

        does "7z e test.7z arc/TEST" should extract only one file "arc/TEST" from the archive ?
        This file "arc/TEST" in the archive is obiously extracted to the file "TEST" (no fullpath) !

        So why "7z e test.7z arc/TEST" should extract all "*/TEST" from the archive ?

        • Igor Pavlov

          Igor Pavlov - 2005-03-01

          It's feature.

          -r Enable recurse subdirectories. This option is default for these commands: e (Extract), l (List), t (Test), x (Extract with full paths). 
          so use -r-

          It was so for previous version (3.13) to support such commands:
          7z x archive.zip

          Now probably I can change it, since 4.* scans subfolders for "*" mask. I'll think about it.

    • Stepho

      Stepho - 2005-03-01

      Alright, I did miss something. :-D
      I didn''t pay close enough attention to the command line.

      So, still IMHO, it's a bug... I think 7z should only extract the file "arc/TEST".


Log in to post a comment.