question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extract splited 7z archive

See original GitHub issue

Hi i have a splited 7z archive with 4 files. I found no example for this case. Is this posible with this library? Is an example available? Thank you for the great library.

var files = new string[]
{
    "archive.7z.001",
    "archive.7z.002",
    "archive.7z.003",
    "archive.7z.004"
}

foreach (var file in files)
{
    using var sevenZipArchive = SevenZipArchive.Open(file, new ReaderOptions
    {
        Password = "1234abcd"
    });
}

I would have looked for something like this

var files = new string[]
{
    "archive.7z.001",
    "archive.7z.002",
    "archive.7z.003",
    "archive.7z.004"
}

using var sevenZipArchive = SevenZipArchive.Open(files, new ReaderOptions
{
     Password = "1234abcd"
});

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Nanookcommented, Apr 20, 2022

I’ve submitted #658 that resolves this issue for zip, 7zip, rar, gzip and tar

1reaction
adamhathcockcommented, Apr 21, 2022

Looks like it’s split extraction for just about everything. I’m surprised more changes weren’t required.

Thanks @Nanook for the changes. If you want to be more of a regular contributor/maintainer, we should talk!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to extract files from a split 7zip archive?
If you want the directory structure flattened, use 7z e instead of 7z x . Right-click the first package of those you downloaded...
Read more >
Splitting and recombining files | IT Service (NUIT)
To recombine split files, double-click the first file in the sequence from within the 7-Zip interface. You can then select the file within...
Read more >
Splitting downloads and working with multi-part zip volumes
Step 1: Ensure all parts of the zip are saved in the same folder · Step 2: Select the first split zip in...
Read more >
How do I reassemble a zip file that has been emailed in ...
Open the folder where the split folders are stored. · Right-click on the first of the folders and left click to select the...
Read more >
How to Use 7-Zip to Split / Archive a File
7-zip select file. >Split File. · 7-zip split file. A – Select “File” from the menu · location and file size. A –...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found