series of compressed files to make a summary:1) for files ending in. tarTAR-XF All.tar2) for files ending in. gzGzip-d all.gzGunzip all.gz3) for files ending with. tgz or. tar.gzTar-xzf all.tar.gzTar-xzf all.tgz4) files ending with. bz2Bzip2-d all.bz2BUNZIP2 all.bz25) For tar.bz2 end of fileTAR-XJF all.tar.bz26) for. Z End of FileUncompress all. Z7) files ending with. tar.zTar-xzf All.tar.zIn addition, there are methods for extracting common compressed files under window, zip and. Rar,linux.1)
For file compression and decompression in the. tar format it is common to use the same command today for files in. zip format. I was really stupid enough to ignore the suffix format ...1. For tar format filescompression: TAR–ZCVF compressed after the name of the compressed directory//TAR-ZCVF A.tar aDecompression: TAR–ZXVF the name after compression//TAR-ZXVF A.tar2. For zip format Filescompression: Zip filename.zip filesdecompression: Unzip Filename.
in the compressed file -P: Similar to the-c parameter, the uncompressed results are displayed to the screen but no conversions are performed -T: Check that the compressed file is correct -u: Similar to the-f argument, However, in addition to updating an existing file, other files in the compressed file are extracted to the directory -V: Show detailed information when execution is performed -Z: Only the memo text for compressed Files -A: Make necessary character conversions to text files - B: Do
Php uses exec to execute unzip to decompress the file. Why are the extracted civilized names in Chinese in a format similar to UTF-8 characters? For example, 2064 php uses exec to execute unzip to decompress the file
Why are the extracted civilized names in Chinese in a format similar to UTF-8 characters?
For example
2064-decompress the sub-file .mp4 to 2064-unzip
As we all know, zip is a compressed file format, MAC OS default supported file format, at that time occasionally when you open the zip file you want to unzip, but automatically become a cpgz file without decompression, and then double-click the Cpgz file, Archive utility will change it back to zip. What is this for?
There are a few reasons why this happens:
1. zip file is damaged;
2, zip file download is not fully downloaded;
3, the b
Many people on the web said to extract the jar package, but the jar command cannot be specified when extracting the directory, it is recommended to use Unzip decompression war package.unzip-d specify directory [[emailprotected] upload]# unzip-oq common.war-d common command name: Unzip function Description: Extract zip file syntax:
Common commands:Zip:Package: Zip something.zip Something (directory please add-r parameter)Unpacking: Unzip somethingSpecify path:-d parameterTarPackage: TAR-ZCVF Something.tar SomethingUnpacking: TAR-ZXVF Something.tarSpecify path:-C parameterCompression/decompression tools commonly used on Linux,Main explanation Zip,rar,tarBefore you talk about the compression tools on Linux, it's important to look at the commonly used compressed package file format
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
Solution One, use Pyton to deal with
1.VI uzip File
2. Copy content (Python)
#!/usr/bin/env python
#-*-Coding:utf-8-*-
# uzip.py
Import OS
Import Sys
Import ZipFile
Print "Processing File" + sys.argv[1]
File=zipfile. ZipFile (Sys.argv[1], "R");
For name in File.namelist ():
Utf8name=name.decode (' GBK ')
Print "Extracting" + utf8name
pathname = Os.path.dirname (utf8name)
If not os.path.exists (pathname) and pathname!= "":
Os.makedirs (Pathname)
data = File.read (name)
If not os
This installation error can be resolved by modifying the path, this tutorial will teach you to quickly solve the MindManager 15 Chinese version of the installation process Dynazip UnZip Error.
Problem Description: Dynazip UnZip error:error Creating output file (Problem extracting file (s))
Cause Analysis: Dynazip UNZIP Error This installation is due
Tags: adjust load. gz different CAL host defaults let tar? ? After compressing files to improve data transmission efficiency, reduce transmission bandwidth, management of backup data has a very important function, so file compression decompression skills become the necessary skills. Compared to the file decompression tool in Windows Flowers Zhengyan, the Unzip tool in Linux is much less, the commonly used decompression commands are gzip,bzip2,tar,zip
1. Download a compressed package, for example:2. Extract to the Web root and rename to phpMyAdmin3. In the browser input http://localhost/phpmyadmin can see the login interface, after landing, database, table additions and deletions can be carried out.Just three steps, it's so simple, so magical ~For further configuration, please refer to other materials, for example: http://jingyan.baidu.com/article/0320e2c1e1fc661b87507b17.htmlphpMyAdmin installation minimalist tutorial [download,
. The network is a magical thing, you do not need to remember, as long as the search, there will always be some place you need: reference to these twoUsing Microsoft.VisualBasic;Using Microsoft.VisualBasic.Devices;The following two sentences to resolve the renaming, hahaha, you laugh, suddenly think you saw yesterday a sentence, "Why programmers like to write code, because that is in the creation of a life, to give him the program intelligence ~"Computer MyComputer = new computer ();MyComputer.F
Eclipse + Tomcat configuration in mac, unzip setomcat
Reprinted from Ghost
I haven't fully understood it yet, but the current version seems to have supported the establishment of the Tomcat server, but the following configuration is required to achieve it. You can also directly deploy the file in the Tomcat installation directory.
1. Install Eclipse...
2. install Tomcat... a little bit. Directory selection is very important.
3. Configure Tomcat in Ec
Haven't written a blog for a long time, today, a whim, record a problem solved today.After Curl set the curlopt_accept_encoding (7.21.8 before curlopt_encoding ) , according to the official saying, Is can automatically respond to the gzip compressed content decompression, but my project did not decompress, and online A search is also a large number of people ask this question, and the answer is actually said can be automatically extracted. I was bored.The Curl library in my project was compiled
In VBA Engineering, VBA code is stored in a composite document in a compressed form.The extracted code is as follows: Public FunctionDecompression (Arrbyte () as Byte) as Byte() 'unzip the VBA stream 'Algorithm Description: https://msdn.microsoft.com/en-us/library/cc313094 (v=office.12). aspx DimCompressedcontainer () as Byte DimSignaturebyte as Byte DimCompressedheader as Integer DimCompressedchunksize as Integer DimCompressedchu
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.