You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With pixz 1.0.2-2 from Debian, running pixz -x files/file00309491 -i files.tpxz9 results with "Index and archive differ as to next file: files/file00309491 vs files/file00246065".
files.tpxz9 was created with pixz -9 -f 3.0 files.tar files.tpxz9 and is available at the following
magnet link:
#! /usr/bin/perl
use strict;
use warnings;
my $splitf;
open $splitf, "<", $ARGV[0];
my $cnt = 0;
my $filecnt = 0;
my $done = 0;
my $buf;
while(!$done) {
my $mark = <$splitf>;
if($mark) {
my $len = read(STDIN, $buf, $mark - $cnt);
my $outf;
open $outf, ">", sprintf("file%08d", $filecnt++);
print $outf $buf;
close $outf;
$cnt += $len;
} else {
$done = 1;
}
}
The text was updated successfully, but these errors were encountered:
With pixz 1.0.2-2 from Debian, running
pixz -x files/file00309491 -i files.tpxz9
results with "Index and archive differ as to next file: files/file00309491 vs files/file00246065".files.tpxz9
was created withpixz -9 -f 3.0 files.tar files.tpxz9
and is available at the followingmagnet link:
(131MB) (sha256 = 2a1cd58008bd527e5d6b8256de796e8368019c2877ed4548afc163d4ede9e614) (more info on it below)
Freshly compiled pixz from git master (936d806) with debug enabled outputs this instead:
Slow decompression of the whole tar archive and then instructing tar to output the file seems to work OK.
files.tar
was created from a Wikimedia dump at https://dumps.wikimedia.org/simplewiki/20160203/simplewiki-20160203-pages-meta-current.xml.bz2 with this command line:The splitter.pl script is as below:
The text was updated successfully, but these errors were encountered: