gzipbzip2xz都可以指定压缩等级,都是1到9,不能指定解压目录,不过单个文件时可以使用-c参数重定向(-c:将压缩解压后的结果输出到标准输出)实现。unzip可以使用-d指定解压目录打包工具tar:特点是可以将文件、目录打包成一个文件方便管理,而且可以结合gzip、bzip2、xz等压缩工具..
分类:
其他好文 时间:
2016-01-23 18:41:34
阅读次数:
186
Visualize the unzip process.class Solution {public: ListNode* oddEvenList(ListNode* head) { if (!head || !head->next) return head; Li...
分类:
其他好文 时间:
2016-01-23 07:58:44
阅读次数:
491
download place:https://launchpad.net/test-db/ ,choose this file from the right panel:employees_db-full-1.0.6.tar.bz2 this is the full version. unzip t...
分类:
数据库 时间:
2016-01-09 20:19:56
阅读次数:
184
link:http://www.markhneedham.com/blog/2008/10/02/ruby-unzipping-a-file-using-rubyzip/require 'rubygems'require 'zip/zip' def unzip_file (file, destina...
分类:
其他好文 时间:
2016-01-03 12:51:05
阅读次数:
150
刚装的mindmanager弹出DynaZip Unzip Error错误,怎么点都点不掉,崩溃!网上找的方法有:1、删除c盘下面mindmanager的无效快捷方式,我试了,发现c盘下面mindmanager快捷方式都有效2、templates文件夹出了问题,具体参看帖子http://blog.s...
分类:
其他好文 时间:
2016-01-02 00:51:01
阅读次数:
211
压缩文件意义节省网络传输带宽,降低磁盘使用率。但会使用一定的cpu。1、gzip不支持压缩目录,gzip后直接跟文件名,在当前目录下压缩时,原文件会消失。#gzipfilename指定压缩目录:#gzip-c123.txt>/tmp/123.txt.gz将当前目录下123.txt文件压缩到tmp目录下名字为123.txt.gz..
分类:
系统相关 时间:
2015-12-31 07:21:16
阅读次数:
1464
常用的压缩命令有:.zip .gz .bz2 .tar.gz .tar.bz2.zip格式在linux和Windows中可以互用:zip 压缩文件名 原文件名 :压缩文件。zip -r 压缩目录名 原目录名 :压缩目录。unzip压缩文件名 :解压文件/目录。gzip原缩文件名 :压缩文件,文件格式...
分类:
系统相关 时间:
2015-12-30 19:09:45
阅读次数:
232
报错:[!] /usr/bin/unzip /Users/soindy/Documents/SmartThermo/ios/SmartThermo/Pods/UMengAnalytics/file.zip -d /Users/soindy/Documents/SmartThermo/ios/Smar...
分类:
其他好文 时间:
2015-12-25 15:21:31
阅读次数:
817
CentOS常用命令#安装中文输入法yum install "@Chinese Support"#安装zip解压工具yum install zip unzip#tail命令tail -f ./xxx.log#启动openofficecd /openoffice/programsoffice -hea...
分类:
系统相关 时间:
2015-12-22 22:43:20
阅读次数:
217