This has only been tested on Linux using p7zip version 16.02.
If you have two files named similar except with an asterisk and number-sign then 7zip will think there is a name conflict when there is not.
To recreate, create an archive like so:
mkdir foo touch 'foo/foo*.bar' 'foo/foo#.bar' 7z a foo.7z foo rm -r foo 7z x foo.7z
This will cause the 7z extraction to either fail or ask if the file should be overwritten. This is incorrect because there is no name conflict.
Just tested it and it looks like
foo/foo*.bar
is being "linked" tofoo/foo#.bar
. I filled them with values and decompressingfoo/foo*.bar
gives youfoo/foo#.bar
.Funny thing is that if compressed to zip (
7z a -tzip foo.zip foo
) the file with asterisk in name is compressed fine but it won't uncompress it either; such archive can be uncompressed withunzip
though.But there still is a question - file name with
*
is not going to work under windows. And also*
is wildcard for 7z. And that's what I think causes the problem.So I don't think this will be resolved. It's rather 7zip than p7zip question.
Last edit: Sam Tansy 2019-06-13