Linux——gzip、gunzip

First, grammar

Usage format gunzip
gunzip [-acfhlLnNqrtvV] [- s] [ file ...]
or
gunzip [-acfhlLnNqrtvV] [- s] [ directory]

Methods gzip -c filename> filename.gz // Linux compressed to keep the source files
gunzip -c filename.gz> filename // method to keep the source Linux unzip files

Second, the main parameters

or -a -ascii: ASCII Text mode using
-c or -stdout or -to-stdout: output file unpacked to stdout
-f or -force: forcibly unlock the compressed file, the file name or ignore hardwired exists and that the file is a symbolic link
-h or -help: online help
-l or -list: lists the compressed files related information
-L or -license: displays version and copyright information
-n or -no-name: when unzipped, if within the compressed file containing the original file name and time stamp, it is ignored Pass
-N or -name: decompression, containing the original file name and timestamp in the compressed file if, it is Restore to unlock the file
-q or -quiet: do not display a warning message
-r or -recursive: recursive processing, all files and subdirectories in the specified directory treated together
-S or -suffix: change the compression suffix string
-t or -test: test compressed file is correct
-v or -verbose: displaying execution instructions
-V or -version: display version information
---- Blueicex 2020/2/8 16:29 blueice1980 @ 126. com

Published 41 original articles · won praise 0 · Views 1466

Guess you like

Origin blog.csdn.net/blueicex2017/article/details/104222863