Linux Command Encyclopedia backup compression: bzip2

Source: Internet
Author: User
Keywords LINUX BZIP2 backup compression command encyclopedia
Tags aliyun backup backup compression bzip2 command encyclopedia file function html

Function Description:. bz2 file compression program.

Grammar: bzip2&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-cdfhklstvvz] [--repetitive-best] [--repetitive-fast] [-Compression level] [Files to compress]

Additional explanation: Bzip2 adopts the new compression algorithm, the compression effect is better than the traditional lz77/lz78 compression algorithm. Without any parameters, bzip2 compresses the file and produces a. bz2 compressed file and deletes the original file.

Parameters:
-C or--stdout sends the results of compression and decompression to standard output.
-D or--decompress to perform the decompression.
-F or--force bzip2 when compressing or decompressing, presets do not overwrite existing files if the output file has the same name as an existing file. To overwrite, use this parameter.
-h or--help display Help.
A-K or--keep bzip2 deletes the original file after compression or decompression. Use this parameter if you want to keep the original file.
-S or--small reduces the amount of memory used when the program executes.
-T or--test test. bz2 the integrity of the compressed file.
Displays detailed information when you compress or decompress a file-V or--verbose.
-Z or--compress to enforce compression.
-L,--License,
-V or--version display version information.
--repetitive-best If there are duplicate data in the file, this parameter can be used to improve the compression effect.
--repetitive-fast This parameter can be used to speed up execution if there are duplicate data in the file.
-Block size at compression level compression.

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.