zip compression and decompression commands in Linux

The main parameters

-c: will decompress the result
-l: display the files contained in the compressed file
-p: similar to the -c parameter, will display the decompressed result to the screen, but will not perform any conversion
-t: check Is the compressed file correct
-u: similar to the -f parameter, but in addition to updating existing files, also extracts other files in the compressed file into a directory
-v: show detailed information when executing yes
-z: only Display the remark text of the compressed file
-a: Perform the necessary character conversion
on the text file -b: Do not perform character conversion on the text file
-C: The file name in the compressed file is case-sensitive
-j: Do not process the original directory in the compressed file Path
-L: Change all file names in the compressed file to lowercase
-M: Send the output result to the more program for processing
-n: Do not overwrite the original file when decompressing
-o: Don't ask the user first, it will be overwritten after unzip is executed original file
-P: use zip's password option
-q: do not display any information when executing
-s: convert whitespace characters in filenames to underscore characters
-V: preserve VMS file version information
-X: while decompressing Restore the original UID/GID of the file

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324728839&siteId=291194637