Categories
爪机爪机

如何合并.tar.a .tar.b .tar.c文件

今天解包L720的固件的时候碰到一些奇怪的文件
一个system.ext4.tar是0kb的,另外有3个system.ext4.tar.a system.ext4.tar.b system.ext4.tar.c的文件倒是有,不过用tar打开的时候发现压缩文件是不完整的~然后就想到了这三个文件可能组合起来才是一个完整的吧~
然后搜了下:
http://forum.xda-developers.com/showthread.php?t=2194171
发现的确是这个问题
for windows users it would be using TYPE in DOS
example

Code:

type system.ext4.tar.a system.ext4.tar.b system.ext4.tar.c >> system.ext4.tar

 

Code:

type file1 file2 file3 file4 file5 >> your_final_file.tar

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.