One, zip compressionInstall Zip and unzip firstYum Install-y Zip/unzipzip 1.txt.zip 1.txtCompressed file 1.txt, compressed filename is called 1.txt.zip zip -r 123.zip 123/Compressed folder 123/specified name 123.zip unzip 1.txt.zipThe zip file
Copy CodeThe code is as follows:
Class zip
{
var $datasec, $ctrl _dir = Array ();
var $eof _ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00";
var $old _offset = 0; var $dirs = Array (".");
function get_list ($zip _name)
{
$zip = @fopen ($zip _name, '
The basic usage of the Inux Zip command is:
Zip [parameters] [file name after packaging] [packaged directory path]
linux zip command argument list:
-a convert the file to ASCII mode -f attempt to repair corrupted compressed file -
Zip:Compression:Zip [-acddffghjjkllmoqrstuvvwxyz$][-b ][-ll][-n ][-t ][-][compressed file] [ File ...] [-i Extract:Unzip [options] Compress file name. zipOptions:-X file list to unzip the file, but not include the specified file file.-V View the
This paper mainly from the following several convenient to explain file archiving and compression, while comparing the compression ratios and characteristics of several different compression methods.
File Archive command tar,tar.gz source
APK application unpacking, modification, editing, localization, packaging and ApplicationThe first two lectures mainly focus on the basic knowledge of playing a machine and focus on how to brush the machine. This lecture introduces the knowledge
Http://android-dls.com/wiki/index.php? Title = HOWTO: _ unpack % 2c_edit % 2c_and_re-pack_boot_imagesHowto: unpack, edit, and re-pack boot images
Several people have already figured out the details on their own, but I have gotten requests to do a
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.