|
xxxx.tar.gz file uses tar with zxvf parameter and can be decompressed at once. XXXX is the file name. For example: $tar zxvf xxxx.tar.gz
gzip -d
Syntax: gzip [-acdfhlLnNqrtvV][-S <压缩字尾字符串>][-<压缩效率>][-best/fast][file...] or gzip [-acdfhlLnNqrtvV][-S <压缩字尾字符串>]<压缩效率>[-][--best/fast][directory]
Note: gzip is a widely used compression program, and after the file is compressed, the ".gz" extension will be added to its name.
Parameters: -a or --ascii uses the ASCII text pattern. -c or --stdout or --to-stdout outputs the compressed file to a standard output device without changing the original file. -d or --decompress or ----uncompress to unzip the file. -f or --force to force the file. Regardless of the file name or the presence of a hard connection and whether the file is a symbolic connection. -h or --help help online. -l or --list lists information about the compressed file. -L or --license to display the version and copyright information. -n or --no-name When compressing a file, the original file name and timestamp are not saved. -N or --name save the original file name and timestamp when compressing the file. -q or --quiet do not display a warning message. -r or --recursive recursive processing will process all files and subdirectories in the specified directory together. -S <压缩字尾字符串>or ----suffix<压缩字尾字符串> to change the compressed suffix string. -t or --test to test whether the compressed file is correct. -v or --verbose shows the instruction execution process. -V or --version displays version information. -<压缩效率> The compression efficiency is a value between 1-9, with a preset value of "6", and the higher the value, the higher the compression efficiency. --best This parameter has the same effect as specifying the "-9" parameter. --fast This parameter has the same effect as specifying the "-1" parameter.
|