Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have 25 .tar files like: filename.tar.001 - filename.tar.025

When I want to unpack them with cat myarchive.tar.* | tar xvf - it does, but missing files: whole .tar is 1,2 GB, but unpacked files have just 600MB - I have ~200 files missing out of ~400.

Ive tared them using 7zip on my Windows OS: add to archive > .tar > 50 MB per part

Little image what I mean: enter image description here

share|improve this question
    
It may be the splitting function of 7zip or the tar of 7zip, have you tried w/o splitting the file. Another option would be to try with the real tar –  0xAF Jun 25 '12 at 22:44
    
Why would you be trying to cat the files together? Shouldn't you be using the --multi-volume option? –  Zoredache Jun 25 '12 at 23:40
    
Have you checked to see the missing files are present in the tar archive, and not extracting, or aren't present and so didn't make it into the tar in the first place? –  Paul Jun 26 '12 at 2:03
    
@Zoredache Its packed, on my local machine it unpacks OK with 7zip. And whats about --multi-volume? –  Ultra Jun 26 '12 at 7:22
    
@ 0xAF I do not speak your language, cant understand you. –  Ultra Jun 26 '12 at 8:37

1 Answer 1

There is no official specification for a multi-part tarball. Use cat on the server to combine them first.

cat ...tar.* > ....tar
tar zxf ....tar
share|improve this answer
    
$ cat Main.tar.* > Main.tar $ tar zxf Main.tar returns: gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now –  Ultra Jun 26 '12 at 9:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.