LZ4 (Extremely Fast Compression algorithm) 项目:http://code.google.com/p/lz4/ 作者:Yann Collet 本文作者:zhangskd @ csdn blog 简介 LZ4 is a very fast lossless compression algorithm, providing compression speed at 400MB/s per core, scalable with multi-cores CPU.
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.IO.Compression; using System.Data; namespace Demo { public class ZipHelper { /// <summary> /// 解压 /// </summary> /// <param
工作项目中需要用到zip压缩解压缩文件,一开始看上了Ionic.Zip.dll这个类库,操作方便,写法简单 对应有个ziphelper类 using Ionic.Zip; public static class ZipHelper { public static void UnZip(string zipPath, string outPath) { try { using (ZipFile zip = ZipFile.Read(zipPath)) { foreach (ZipEntry ent
zip 压缩命令:(可压缩文件或目录) 压缩文件: zip new_name.zip file_name unzip name.zip 解压 压缩文件或目录: 指定解压位置: unzip name.zip -d dir_name unzip -l name.zip 查看压缩文件里的文件 tar 打包命令:打包文件或目录 tar -cvf name.tar file_name 打包 tar -xvf name.tar 解包 同时打包文件和目录: tar -cvf nam