In linux, tar is used to package and split files, and tar is used to decompress files.

Source: Internet
Author: User

In linux, tar is used to package and split files, and tar is used to decompress files.

First, compression:

Tar-czvp-f skype_backup.tar.gz skype_backup

Split:

Split-B 4000 k skype_backup.tar.gz skype_backup_20090626.tar.gz.-verbose

The preceding two commands are combined into one sentence:

Tar-czvp-f-skype_backup | split-B 4000 k-skype_backup_20090626.tar.gz.-verbose

Merge files:

Cat skype_backup_20090626.tar.gz.a *> skype_backup_cat.tar.gz

Decompress:

Tar-zxvf skype_backup_cat.tar.gz
The preceding two sentences are combined into one sentence:
Cat skype_backup_20090626.tar.gz.a * | tar-zxv



A linux File is split into several tar packages and decompressed in the window.

Compression software can be used, but different file systems can be extracted, which may cause certain encoding errors. For more information, see dos2unix.
 
In linux, how does one decompress a file in a compressed package using unzip? Tar can

More details !!
Unzip: Decompress the ZIP file.
Tar is to package the file into a tar file!
------
You can only perform this operation manually.

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.