Menu

Extracting zip archives with extension *.z12

2021-04-22
2021-04-22
  • Heiko Gerdau

    Heiko Gerdau - 2021-04-22

    I have a zip (-fzip) archive named: test.z12
    On the command line when using:
    7z x test.z12
    I get:
    ERRORS:
    Missing volume : test.zip

    In spite of this message and the fatal error return code of 7z the file is actually properly extracted

    This happens for all extensions "z##" where # stands for a number.
    With on exception: z00 works and also all other extensions starting with z like "zap" ...

    Looks like a bug to me or do I miss something?
    I see this in version 16.02 and 21-01 alpha on linux 64bit.
    It happens also on windows in Version 16

    Any workaround other than copying the file and renaming it or ignoring the return code?

     
  • Igor Pavlov

    Igor Pavlov - 2021-04-22

    zip supports multivolume:
    z01
    z02
    z03
    z12
    zip

    So if 7-zip sees z12 extension, 7-zip expects that it's only part 12 of multivolume archive. And it tries to open main volume that have zip extension.

     

    Last edit: Igor Pavlov 2021-04-22
  • Heiko Gerdau

    Heiko Gerdau - 2021-04-22

    Ah, I see, thanks a lot.
    Is there a way (a switch) to turn that multivolume interpretation off?

     
  • Igor Pavlov

    Igor Pavlov - 2021-04-22

    No way to switch it off.
    You can think why you have z12 exteanion instead of zip.
    Maybe you should fix it in another level.

     
  • Heiko Gerdau

    Heiko Gerdau - 2021-04-22

    I have no influence on that name. And it's an automatic process. So I guess I'll have to copy the file to some place with write access and rename it for extraction. Thanks anyway.

     

Log in to post a comment.