Linux Decompression Command Encyclopedia decompression tar bz2 zip tar.gz gz May 25, 2008 Sunday 04:57
Roughly summed up the Linux under the various formats of compression package compression, decompression methods. But some of the methods I did not use, also not all, I hope you help me to add, I will be rea
($resource); the $endtime=Explode(‘ ‘,Microtime());//time of Decompression end - $thistime=$endtime[0]+$endtime[1]-($starttime[0]+$starttime[1]);Wuyi $thistime=round($thistime, 3);//Keep 3 as decimal the Echo"$thistimeSeconds. ; - } Wu - $size= Get_zip_originalsize ('.. /.. /textaa.zip ', '. /.. /ffff/');In the above method: $filename: File name, is the name of the file to extract, including the path relative to the method, $path means: Extr
PHP Online Decompression zip file method,
The example in this article describes how PHP extracts zip files online. Share to everyone for your reference. The specific analysis is as follows:
In the PHP function library only found a zlib function also with compression somewhat, but I was disappointed that he did not solve the
compression, you need to download rar for Linux firstZip jpg.zip *.jpg//zip format compression, need to download zip for Linux FirstExtractTAR–XVF File.tar//Unpacking the TAR PackageTAR-XZVF file.tar.gz//Decompression tar.gzTAR-XJVF file.tar.bz2//Decompression tar.bz2TAR–XZVF file.tar.z//Unzip tar. ZUnrar e file.rar//
Linux compression and decompression commands (gizp, tag, zip, bzip2)
-------------------------------------- Compression and decompression command -------------------------------* Windos can decompress all linux System File packages, but linux may not be able to decompress all of windos's
I. gzip: compressed file --- GUN zip
Copy the Code code as follows:
/*********************** @file-path to zip file* @destination-destination directory for unzipped files*/function Unzip_file ($file, $destination) {Create Object$zip = new Ziparchive ();Open Archiveif ($zip->open ($file)!== TRUE) {Die (' Could not open archive ');}Extract contents to destination directory$
, you need to download RAR for Linux firstZip jpg.zip *.jpg//zip format compression, you need to download the zip for Linux firstExtractTAR–XVF File.tar//Unpacking the TAR PackageTAR-XZVF file.tar.gz//Decompression tar.gzTAR-XJVF file.tar.bz2//Decompression tar.bz2TAR–XZVF file.tar.z//Unzip tar. ZUnrar e file.rar//
Php implements zip file decompression ,. Php implements zip file decompression. PHP decompress the zip file function. the Source Code is short. you need to use the ZZIPliblibrary extension. make sure the extension is enabled before use. * ********************* @ Php to decom
example, currently in the Bliux directory, do the following to achieve the same effect.Zip–q–r Html.zip HTMLFor example, now in my HTML directory, the ZIP compression command I'm working on isZip–q–r Html.zip *The basic syntax for the Unzip command is: Unzip [parameters] Zip fileLinux Host Zip decompression simple exa
PHP Implementation zip file decompression operation,
PHP decompression zip file functions, short source code, need to use the Zziplib Library extension, please confirm that the extension is open before use.
This is the PHP decompression
From: http://www.cftea.com/c/2008/04/A1FQ34RYSYNLFT47.asp
Sharpziplib is a free component that can be used to compress and decompress files in multiple formats such as zip.
Download sharpziplib 0.85.4 locally;
Download the source file and example of sharpziplib 0.85.4 locally;
Download the sharpziplib 0.85.4 help locally.
Or you can go to the official website to download the latest version: http://www.icsharpcode.net/OpenSource/SharpZipLib/Downlo
Web front-end decompression Zip compression package
What is the use of the Web front-end to extract Zip files:
Only consider the standard browser, the server as long as the transmission of compressed packets to the client, saving bandwidth, and save the transmission time, sounds like very strong said;
If the front end of the code a lot, but also include the fi
meaning of the update file.# TAR-TF All.tarThis command is to list all the files in the All.tar package,-T is to list the meaning of the file# TAR-XF All.tarThis command is to solve all the files in the All.tar package,-X is the meaningCompressionTAR–CVF Jpg.tar *.jpg//package all JPG files in the directory into tar.jpgTAR–CZF jpg.tar.gz *.jpg//pack all JPG files in the directory into Jpg.tar and compress them in gzip to generate a gzip compressed package named jpg.tar.gzTAR–CJF jpg.tar.bz2 *.j
meaning of the update file.# TAR-TF All.tarThis command is to list all the files in the All.tar package,-T is to list the meaning of the file# TAR-XF All.tarThis command is to solve all the files in the All.tar package,-X is the meaningCompressionTAR–CVF Jpg.tar *.jpg//package all JPG files in the directory into tar.jpgTAR–CZF jpg.tar.gz *.jpg//pack all JPG files in the directory into Jpg.tar and compress them in gzip to generate a gzip compressed package named jpg.tar.gzTAR–CJF jpg.tar.bz2 *.j
Zip: PclZip http://www.phpconcept.net/pclzip/index.en.php
Rar: PECL rar http://pecl.php.net/package/rar
In the past, we had to execute the decompression program in php. The most common method was to write the command and run it using the Execute function such as exec ().
This may work in Windows, but changing to Unix won't be able to run smoothly due to account permissions issues.
Is there any method that p
1, Archives function Description:One of the Distributedcache methods in Hadoop (a reference article later in the other reference article) is to distribute the specified files to the working directory of each task, with the name suffix ". Jar", ". zip", ". tar.gz", ". tgz" Files automatically decompression, by default, the extracted content into the working directory under the name of the pre-
In the project to extract the zip file with ziparchive, the first test environment in the Windows platform, test through, to Linux+nginx environment when the problem (Zip package has files and directories of altogether more than 300 files, most of the file name with Chinese characters), The problem is: without the Chinese character of the file decompression is no
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.