Linux Command Encyclopedia backup compression: gzip

Source: Internet
Author: User
Keywords Linux backup compression command encyclopedia
Tags aliyun backup backup compression command encyclopedia file files function html

Function Description: Compress file.

Grammar. gzip&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; [-ACDFHLLNNQRTVV] [-s < compressed word tail string] [-< compression efficiency [--best/fast] [File ...] or gzip [-acdfhllnnqrtvv][-s < compressed character tail string >][-< compression efficiency >][--best/fast][directory]

Supplemental NOTE: gzip is a widely used compression program, the file after it compressed, after its name will be more than ". gz" extension.

Parameters:
-A or--ASCII uses ASCII text mode.
-C or--stdout or--to-stdout the compressed file output to the standard output device, do not change the original file.
-D or--decompress or----uncompress unzip the compressed file.
-F or--force to forcibly compress the file. Ignores the existence of file names or hard connections and whether the file is a symbolic connection.
-H or--help online Help.
-L or--list lists information about compressed files.
-L or--license displays version and copyright information.
-N or--no-name compressed files, the original file name and time stamp are not saved.
-N or--name files, save the original file name and time stamp.
-Q or--quiet does not display a warning message.
-R or--recursive recursively, all files and subdirectories in the specified directory are processed together.
-s< compressed Word tail string > or----suffix< compressed word tail string > Change compressed Word tail string.
-T or--test test that the compressed file is correct.
The-V or--verbose displays the instruction execution process.
-V or--version display version information.
-< compression Efficiency > Compression efficiency is a value between 1-9, the preset is "6", the larger the value, the higher the compression efficiency.
--best the effect of this parameter is the same as the specified "9" argument.
--fast the effect of this parameter is the same as the specified "1" argument.

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.