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 segmented compression and search for the following information: for example, hiapk-system is a folder, and the file is also cd... 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
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.