Linux system does not have its own compression decompression tool, we need to install it, when using zip or unzip if not installed will appear unzip:command not Found or Zip:command not Found; This happens because there is no installation of unzip and zip;
If the Ubuntu system can be installed with the following commandsudo apt-get install zip
2If it is installed with Yum, install it with the followin
Many users are reflected in the installation of MindManager 15 Chinese version of the process will appear dynazip UnZip error prompts, in fact, this installation error can be resolved through the modified path, this tutorial will teach you to quickly solve MindManager 15 Chinese version of the installation process Dynazip UnZip Error.
Problem Description: Dynazip
of the disk on which the first compressed file is stored.-
two. Unzip commandFunction Description: Unzip extract zip file commandSyntaxParameters-C Displays the uncompressed results to the screen and converts the characters appropriately.-F to update existing files.-L Displays the files contained within the compressed file.-P, similar to the-c parameter, displays the uncompressed results to the screen, but
Linux commonly used compression commands have gzip and zip, two kinds of compression package end different: Zip compressed after file is *.zip, and gzip compressed file *.gz
The corresponding decompression commands are gunzip and unzip.
gzip Command:
# gzip Test.txt
It will compress the file into a file test.txt.gz, the original file is not, unzip the same
# Gunzip Test.txt.gz
It will
Decompress the compressed file test.zip under the specified directory tmp. if the same file already exists, the unzip command must overwrite the original file. Unzip
Command name: zip
Function description: compress a file.
Syntax: zip [-AcdDfFghjJKlLmoqrSTuvVwXyz $] [-B
] [-Ll] [-n
] [-T
] [-
] [Shrink files] [files...] [-I
] [-X
]
Recently in the Boss System Cloud Platform deployment script, the tune-up found a problem in the shell script, the following recordsA place to indicate whether to overwrite[[email protected]test]# unzip/home/redis/test/main-d-1544-160316.zip-d/home/redis/test/staribossarchive:/home/redis/test/Main-d-1544-160316.zipreplace/home/redis/test/stariboss/dbpasswordencryption.bat? [Y]es, [N]o, [A]ll, [N]one, [r]ename: Query the
Example: compressing the contents of the current directory on the server as a xxx.zip fileZip-r xxx.zip./*Unzip the zip file to the current directoryUnzip Filename.zip============================Another: Some servers do not install the ZIP package does not execute the zip command, but basically can be used with the tar command, the example is as follows:tar-zcvf/home/zdzlibs.tar.gz/home/zdz/java/zdzlibs/============================Linux zip commandZip
This article describes how PHP extracts a zip file to a specified folder. Share to everyone for your reference, as follows:
/** * Function: Unzip file in ZIP format * author:friker * date:2015-15-14 * reference:http://php.cn/manual/zh/ref.zip.php * All rights reserved:php.cn */class unzip{Public Function __construct () {//init code here ... header ("Content-type:text/html;c Harset=utf8 "); /** *
Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression decompression, and can be used with other commands but only one. The following parameters are optional when compressing or extracting files as needed.-Z: With gzip properties-j: With the bz2 attribute-Z: With the Compress at
[Email protected] tmp]#Unzip Linx64_11gr2_database_1of2.zipArchive:linx64_11gR2_database_1of2.zipWarning [linx64_11gr2_database_1of2.zip]:4652886 Extra bytes at beginning or within ZipFile(attempting to process anyway)Error [Linx64_11gr2_database_1of2.zip]:Start of Central directory is not found; zipfile corrupt.transferred or created the ZipFile in the appropriate BINARY modeand that you have compiled UnZip
Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression decompression, and can be used with other commands but only one. The following parameters are optional when compressing or extracting files as needed.-Z: With gzip properties-j: With the bz2 attribute-Z: With the Compress at
TarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression decompression, and can be used with other commands but only one. The following parameters are optional when compressing or extracting files as needed.-Z: Wi
1. Function: Unzip zip file2. Location:/usr/bin/unzip3. Format usage:unzip [-z] [-opts[modifiers]] file[.zip] [list] [-X xlist] [-D Exdir]4. Main parameters
-C Display the extracted results to the screen and convert the characters appropriately
-P, similar to the-c parameter, displays the results of the decompression to the screen, but does not perform any conversions.
-l display files contained within a compressed file
-F Updatin
Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression decompression, and can be used with other commands but only one. The following parameters are optional when compressing or extracting files as needed.-Z: With gzip properties-j: With the bz2 attribute-Z: With the Compress at
1. Compress and Decompress commandsCommon compression formats:. zip,. gz,. bz2,. tar.gz,. tar.bz2,. rar. zip format compression and decompression commandsZip compressed file name source files: Compressed filesZip-r compressed file name Source directory: Compressed directoryUnzip compressed file name: Unzip. zip files. gz format Compression and decompressionGzip source files: Compressed files in. gz format, source files disappearGzip-c source Files > C
ZIP-RP 1234 Test.zip Test.txt
-R means recursively all subdirectories
-p means the password is 1234.
UNZIP-P 1234 Test.zip//extract to current directory
Description of parameters related to zip and unzip
Zip [parameters]
Packaging files using zip format
-R recursion, all files and subdirectories under the specified directory are processed together
-S contains system and hidden files
-Y saves the sym
Install zip, unzip, g ++, and other software in linux.
Recently, the company has configured a new 64-bit ECs instance. during deployment, it found that the zip/unzip compression and decompression software was not installed.
So I had to install these two software on my own. The best way to use linux is yum. The two commands are installed.
First, list the software installation package:
# Yum list | grep zip/
This article mainly introduces the methods of zip and unzip data in python, and analyzes the usage skills of the zlib module in Python, for more information about how to use python zip and unzip data, see the following example. Share it with you for your reference. The specific implementation method is as follows:
# zipping and unzipping a string using the zlib module# a very large string could be zipped
tool directly installed, do not need to unzip. If it is the ISO format decompression also line, do not want to see whether the tool can be used to identify the image of the Gho file, using u depth PE machine tool is not decompressed, and the original as directly installed. If you are not sure if your tool is identifiable, you can unzip it and extract the Gho file in the
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.