第三方解压缩框架——SSZipArchive下载地址:https://github.com/samsoffes/ssziparchive
注意:需要引入libz.dylib框架 // Unzipping
NSString *zipPath = @"path_to_your_zip_file";
NSString *destinationPath =@"path_to_the_folder_wher...
分类:
移动开发 时间:
2015-05-21 10:56:12
阅读次数:
234
Linux压缩格式有gz,bz2,xz,zip因为压缩的算法不同所以导致压缩比【(压缩后-压缩前)/压缩前】也会不同现在先来说几个常用的,它们共同点是只能用来压缩和解压缩文件,是不能压缩目录,如果你压缩目录的话会把每个文件压缩成对应的压缩包,它们在压缩和解压缩同时会删除原文..
分类:
其他好文 时间:
2015-05-17 02:10:43
阅读次数:
148
1 __author__ = 'Zechary' 2 3 import os, os.path 4 import zipfile 5 6 def zip_dir(dirname, zipname): 7 filelist = [] 8 if os.path.isfile(dir...
分类:
其他好文 时间:
2015-05-16 11:47:49
阅读次数:
147
using System;using System.Runtime.InteropServices;using System.Drawing;using System.Drawing.Imaging;namespace AVI{ /**//// /// AVIWriter 的摘要说明,chenpe....
1.使用zip和unzip压缩和解压Zip aa.zip 文件名(一个)Zip aa.zip 文件名1 文件名2(压缩多个文件)Zip -r aa.zip 文件夹路径(压缩整个文件夹)zip -t 102002 file.zip 压缩当前目录下在2002 10月20日之后的文件压缩zip file....
分类:
系统相关 时间:
2015-05-14 00:51:56
阅读次数:
201
文件备份和压缩命令在Linux中,常用的文件压缩工具有gzip、bzip2、zip。bzip2是最理想的压缩工具,它提供了最大限度的压缩。zip兼容性好,Windows也支持。命令功能bzip2/bunzip2扩展名为bz2的压缩/解压缩工具gzip/gunzip扩展名为gz的压缩/解压缩工具zip...
分类:
系统相关 时间:
2015-05-12 15:21:40
阅读次数:
174
一.压缩与解压缩gz.bz2linux可以识别的常见压缩格式tar.gz.itar.bz2常见的压缩和打包命令压缩同时打包tar-zcvf压缩文件名源文件tar-zcvfaa.tar.gzaa-z识别.gz格式-c:压缩-v:显示压缩过程-f:指定压缩包名tar-zxvf压缩文件名解压缩同时解打tar-jcvf压缩文件名源文件压缩同时打..
分类:
其他好文 时间:
2015-05-10 20:39:51
阅读次数:
126
1.压缩和解压缩命令 常用压缩格式:.zip、.gz、.bz2、.tar.gz、.tar.bz2、.rar .zip格式压缩和解压缩命令 zip 压缩文件名 源文件:压缩文件 zip -r 压缩文件名 源目录:压缩目录 unzip 压缩文件名:解压缩 .zip文件 .gz格式压缩和解压缩 g...
分类:
系统相关 时间:
2015-05-09 23:27:04
阅读次数:
175
using System;using System.Web;using System.IO;using System.Configuration;using System.IO.Packaging;using System.ComponentModel;using System.Net;/// //...
分类:
Web程序 时间:
2015-05-08 12:34:56
阅读次数:
125