RedHat Linux 下,自带的文件压缩工具有:tar、gzip、bzip2、和 zip。 ubuntu下没有自带的zip工具吗? 是不是需要人工安装? Red Hat Linux 下可以用下面这些命令来压缩/解压缩zip文件: zip -r filename.zip filesdir unzip filename.zip 那么,在ubuntu下用什么命令呢? :( ps. 本贴进度跟踪: 2007-6-16 15:24 ------------------------------------------------------------------------ 由于 unix 体验中心的 ubuntu 6.0 没...
by windlike - Linux新手园地 - 2007-06-16 23:59:31 阅读(42992) 回复(21)
原文链接http://www.zzt123.com/html/2012/0817/1345184456.html 这么多年来,数据压缩对我们来说是非常有用的。无论是在邮件中发送的图片用的zip文件还是在服务器压缩数据文件,我们都可以让下载更容易或者有效 的节约磁盘空间。某些压缩格式有时允许我们以60%的比率(甚至更高)压缩文件。下面我将会给大家演示如何用这些命令在Linux下面去压缩文件或者目 录。我们将学习zip, tar, tar.gz和tar.bz2等压缩格式的基本用法。这几...
def zipFiles(srcPath, zipFilename, arcName="/", CompressMode = 0): """ Description: zip all file in srcPath """ tmpFile = None zipFile = None flag = None try: tmpFile = file(zipFilename,'wb') zipFile = zipfile.zipFile(tmpFile,"w") flag = __addTozip(srcPath, zipFile, arcName, CompressMode ) finally: if zipFile: zipFile.clo...
Level 6zip document: http://docs.python.org/library/zipfile.html 图片中有一条牛仔裤(拉链的英文名为:zipper)。 Title提示为pair. 源码中有〈!-- 〈-- zip --〉字样。 从http://www.pythonchallenge.com/pc/def/channel.zip 下载zip文件 解压这个zip文件,里面有一个readme文件提示: welcome to my zipped list. hint1: start from 90052 hint2: answer is inside the zip 从这里可以看出跟Level 4差不多,就是反复...
linux zip 命令详解 关键字: linux zip 命令详解 功能说明:压缩文件。 语 法:zip [-AcdDfFghjJKlLmoqrSTuvVwXyz$][-b ][-ll][-n ][-t ][-][压缩文件][文件...][-i ][-x ] 补充说明:zip是个使用广泛的压缩程序,文件经它压缩后会另外产生具有".zip"扩展名的压缩文件。 参 数: -A 调整可执行的自动解压缩文件。 -b 指定暂时存放文件的目录。 -c 替每个被压缩的文件加上注释。 -d 从压缩文件内删除指定的文件。 -...
PHP zip File
[root@localhost ~]# lsb_release -a LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: CentOS Description: CentOS release 5.5 (Final) Release: 5.5 Codename: Final [root@localhost ~]# [root@localhost ~]# [root@localhost ~]# uname -a Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 i686 i386 GNU/Linu...