Linux Sub-volume compression command

Source: Internet
Author: User

Linux Sub-volume compression command


1. Using Tar to split the volume compression

Format Tar Cvzf-filedir | Split-d-B 50m-filename
Examples:
Tar cvzf-./picture | Split-d-B 10m-picture pack./picture and cut to 10m

The output files are filename00, filename01, filename02 ...

Assuming that the filename is not added, the output file is x00, x01, x02 ...

Assume that the number-D is not added. The output AA, AB, ac ...


2. Unzip the Sub-volume

First, the sub-volume package is combined

Cat x* > myzip.tar.gz
then unzip

Tar xzvf myzip.tar.gz
Examples:
Cat picture* > Picture.tar.gztar xzvf picture.tar.gz


Linux Sub-volume compression command

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.