Commands for compressing bz2 files in CentOS

Source: Internet
Author: User
Bzip2 function description:. bz2 file compression program. Syntax: bzip2 [-cdfhkLstvVz] [-- repetitive-best] [-- repetitive-fast] [-compression grade] [file to be compressed] supplementary description: bzip2 adopts the new compression algorithm, which is better than the traditional LZ77/LZ78 compression algorithm. If no parameter is added, bzip2 will generate bzip2 after the file is compressed.

Function description:. bz2 file compression program.

Syntax: bzip2 [-cdfhkLstvVz] [-- repetitive-best] [-- repetitive-fast] [-compression grade] [file to be compressed]

Note: bzip2 adopts a new compression algorithm, which is better than the traditional LZ77/LZ78 compression algorithm. If no compression file is added, the compressed file .bz2 will be uploaded and the original file will be deleted.

Parameters:
-C or -- stdout sends the compression and decompression results to the standard output.
-D or -- decompress.
-F or -- force bzip2 will not overwrite the existing file if the output file has the same name as the existing file during compression or decompression. To overwrite data, use this parameter.
-H or -- help displays help.
-K or -- keep bzip2 will delete the original file after compression or decompression. To retain the original file, use this parameter.
-S or -- small reduces the memory usage during program execution.
-T or -- test the integrity of the. bz2 compressed file.
-V or -- verbose displays detailed information when compressing or extracting files.
-Z or -- compress enforces compression.
-L, -- license,
-V or -- version displays version information.
-- Repetitive-best: this parameter can be used to improve the compression effect if duplicate data appears in the file.
-- Repetitive-fast: this parameter can be used to speed up execution if duplicate data appears in the file.
-The block size when the compression level is compressed.

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.