Reputation: 49
Does anyone have experience with splitting tar.gz and what could have gone wrong here and why some files are damaged during splitting? I split one "testFile.tar.gz" file into parts not larger than 2 GB. For example testFile.tar.gz.001 testFile.tar.gz.002 testFile.tar.gz.003. I split the testFile.tar.gz file so that the input stream reads the data from testFile.tar.gz. and the output stream is written this data first in testFile.tar.gz.000 until it reaches the size of 2 GB, after this it is written in testFile.tar.gz001 and so on. I try to re-unite all parts with 7-zip. I mark all parts, then right-click the mouse and "7-Zip>unpack here". I get the following error message
unexpected end of data, the data cannot be opened as a [gzip] archive,
the data was opened as a [tar] archive
Data error: [path of corrupted file]
Upvotes: 0
Views: 132