08. Backup Compression Command

Source: Internet
Author: User

? Gzip Compress (unzip) file or directory, zip file suffix to gzbzip2 compressing (extracting) files or directories with a compressed file suffix of bz2tar file, directory hit (solution) packagegzip command

Command format:

? gzip [option] compress (unzip) the file name

Parameters:

?-d Unzip the compressed file.?-l for each compressed file, display the size of the compressed file, the size of the uncompressed file, the compression ratio, the name of the uncompressed file?-V for each compression and decompression of the file, the display file name and compression ratio.-num Adjust the speed of compression with the specified number num,- 1 or--fast represents the fastest compression method (low compression ratio), 9 or--best represents the slowest compression method (high compression ratio). The system default value is 6------------------------------------------------------------------------------------------------------------------ --------------------bzip2 Command

Command format:

bzip2 [-cdz] File name

Parameters:

?-D: Uncompressed parameters?-Z: Compressed parameters?-num Adjusts the speed of compression with the specified number num, 1 or--fast represents the fastest compression method (low compression ratio), 9 or--best represents the slowest compression method (high compression ratio). The system default value is 6------------------------------------------------------------------------------------------------------------------ --------------------tar command

Command format:

? tar [-CXZJVF] compress the name of the packaged document to back up the directory

Parameters:

?-C: Create an archive parameter directive?-X: Unlocks a compressed file parameter directive!?-z: Do I need to use gzip compression??-J: Do I need to compress with bzip2??-V: Compress the process of displaying files?-F: Use the file name, immediately after F to receive the filename?-TF: View File inside the document file

08. Backup 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.