Linux Basic Command Unzip

Source: Internet
Author: User

The unzip command is used to decompress compressed package syntax compressed by zip

Unzip (parameters) (option)

General usage Unzip aaa.zip-d homed/extract to home directory unzip-v aaa.zip View compressed file contents Unzip-t Aaa.zip Verify that compressed files are complete options

-C: Display the extracted results to the screen and convert the characters appropriately;

-F: Update existing files;

-L: Displays files contained within the compressed file;

-P: Similar to the-c parameter, the extracted results are displayed on the screen, but no conversions are performed;

-T: Check that the compressed file is correct;

-U: Similar to the-f parameter, but in addition to updating existing files, other files in the compressed file are extracted to the directory;

-V: Displays detailed information when executing;

-Z: Displays only the memo text of the compressed file;

-A: Necessary character conversion for text files;

-B: Do not convert text files to characters;

-C: File names in compressed files are case sensitive;

-j: Do not handle the directory path of compressed files;

-L: Change all the file names in the compressed file to lowercase;

-M: Send the output to more program processing;

-N: Do not overwrite the original file when decompressing;

-O: Do not have to ask the user first, unzip after the implementation of overwriting the original file;

-p< Password: Use the zip password option;

-Q: No information is displayed when executing;

-S: Converts whitespace characters in filenames to baseline characters;

-V: Keep the file version information of the VMS;

-X: At the same time to extract the file back to the original uid/gid;

-d< directory;: Specifies the directory to be stored after extracting the file;

-x< file;: Specifies which files in the. zip archive are not processed;

-z:unzip-z equals the execution of the zipinfo instruction.

Linux Basic Command Unzip

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.