MediaTek's first challenge to the Android 6.0 project: Tar subcontracting and bundle

Source: Internet
Author: User
Tags gz file

Tar subcontracting compression and consolidation today is a happy day, ushered in a new project----MediaTek tablet. But encountered a problem, the tar of sub-package compression and merger incredibly in the information book can not find, so I hurriedly Baidu, found the relevant information. In the engineering directory encountered a large number of gz.aa ..... gz.ai and so on the file, suddenly a little overwhelmed, read this article to know, so, so I reproduced it to my blog as a record. In order to maintain the unity of the article, here I have written for the original, if there is infringement, please contact Delete, thank you! To compress and split the directory logs into multiple 1M files, you can use the following command: Tar cjf-logs/|split-b 1m- Logs.tar.gz2. When completed, the following files will be produced: Logs.tar.gz2.aa, Logs.tar.bz2.ab, logs.tar.gz2.ac to unzip, just execute the following command: Cat logs.tar.gz2.a* | Example of the tar XJ: to compress file test.pdf into a bytes file: Tar czf-test.pdf | Split-b 500-test.tar.gz last to remind but those two "-" do not miss, that is the argument of the tar ouput and split input. Gzcat Sxrt5.0.dvd1.tar.gza[a-c]|tar xvf-1, merging files using spilt split    # cat Sxrt5.0.dvd1.tar.gzaa  Sxrt5.0.dvd1.tar.gzab  Sxrt5.0.dvd1.tar.gzac >>sxrt5.0.dvd1.tar.gz2, unzip the gz file   # gunzip sxrt5.0.dvd1.tar.gz3, unzip the tar package   # tar XVF Sxrt5.0.dvd1.tar



Reprinted from: http://xxw8393.blog.163.com/blog/static/37256834201172910058899/

MediaTek's first challenge to the Android 6.0 project: Tar subcontracting and bundle

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.