LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why joining parted *.tar is missing files, when *.tar itelf have them? (https://www.linuxquestions.org/questions/linux-newbie-8/why-joining-parted-%2A-tar-is-missing-files-when-%2A-tar-itelf-have-them-4175413433/)

UltraMC 06-26-2012 04:45 AM

Why joining parted *.tar is missing files, when *.tar itelf have them?
 
I have 25 .tar files like:
Code:

filename.tar.001` - `filename.tar.025
When I want to unpack them with
Code:

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:
Code:

add to archive > .tar > 50 MB per part
Little image what I mean: http://i.stack.imgur.com/Dao7E.png

John VV 06-27-2012 01:53 PM

off hand i would say you only joined 1 AND 25
and not 1 through 25
-- or--
do the the fact that the terminal reads files NOT in the human order
human = 1,2,3,4,5,6
computer = 1,11,12,13,14,15.. 19,2 , 21,22,23,24,... 29,3


cat
will work but for 25 files it would be easier to use lxsplit
the linux version of the windows ljsplit

http://lxsplit.sourceforge.net/
even though it is 4 years old
the source dose build with gcc 4.6 on modern OS's


All times are GMT -5. The time now is 01:56 PM.