Multipart compression and restoration of files in linux

Source: Internet
Author: User

In linux, the file is segmented compressed and restored to study the android source code. to copy the entire source code to a 32 gb usb flash drive, the USB flash drive only supports a single file up to 4 GB, so the copy fails. No way, you can only perform multipart compression. Search for the following information: for example, hiapk-system is a folder, and files are also compressed in parts after cd is saved to this directory: tar-jcf-hiapk-system | split-B 2000000 k-hiapk.tar.bz2. the name of each section 2gis hiapk.tar.bz2. a *: hiapk.tar. ba2.aa hiapk.tar. ba2. AB hiapk.tar. ba2.ac ....... restore the file: cat hiapk.tar.bz2. a * | tar-jx OK

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.