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 ?
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...
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?
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 ?
-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.
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.