mholt/archives

Support for multi-part ZIP files

Open

#66 geöffnet am 24. Apr. 2026

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (37 Forks)github user discovery
enhancementhelp wanted

Repository-Metriken

Stars
 (417 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

What would you like to have changed?

Add support for unzipping archive files (other than RAR) that are split into multiple parts

Why is this feature a useful, necessary, and/or important addition to this project?

Usually, zip files that are sent over emails are split into multiple part in order to avoid size limit on attachments. In order to unzip them, we need to put all of the parts together. Usually these files are ordered by their number on their extension, for example: .zip, .z01, .z02, etc.

What alternatives are there, or what are you doing in the meantime to work around the lack of this feature?

For now, I use MacOS's native zip and unzip command, which is provided by libzip. I usually use these command in order to unzip them:

zip -s- img-pt.zip -O combined.zip
unzip combined.zip

Also, I found an alternative command using 7zip:

7z x img-pt.zip

Please link to any relevant issues, pull requests, or other discussions.

I notice that we already supports unarchiving RAR files that are split into multiple files: https://github.com/mholt/archives/issues/20

Also, bodgit/sevenzip already supports for unarchiving multiple ZIP files: https://github.com/bodgit/sevenzip/issues/2

Contributor Guide