zip 和 unzip
来源:互联网 发布:网络优化课程 编辑:程序博客网 时间:2024/05/01 07:44
zip 和 unzip
要使用 zip 来压缩文件,在 shell 提示下键入下面的命令:
zip -r filename.zip filesdir在这个例子里,filename.zip 代表你创建的文件,filesdir 代表你想放置新 zip 文件的目录。-r 选项指定你想递归地(recursively)包括所有包括在filesdir 目录中的文件。
要抽取 zip 文件的内容,键入以下命令:
unzip filename.zip你可以使用 zip 命令同时处理多个文件和目录,方法是将它们逐一列出,并用空格间隔:
zip -r filename.zip file1 file2 file3 /usr/work/school上面的命令把 file1、file2、 file3、以及/usr/work/school 目录的内容(假设这个目录存在)压缩起来,然后放入 filename.zip 文件中。
要获得有关这两个命令的详细信息,在 shell 提示下键入 man zip 和 man unzip 来阅读 zip 和 unzip 命令的说明书页。
- zip 和 unzip
- zip和unzip用法
- Linux 的zip 和 unzip
- zip命令和unzip命令
- zip/unzip
- zip&unzip
- Linux下 zip 和 unzip的用法
- Linux下 zip 和 unzip的用法
- Linux下 zip 和 unzip的用法
- unzip和zip指令的使用方法
- linux 安装zip unzip 和 使用
- macOS zip 打包加密和 unzip 解压
- Liunx 分卷压缩和解压(zip和unzip)
- Centos中压缩(zip)和解压(unzip)命令
- Centos中压缩(zip)和解压(unzip)命令
- Centos中压缩(zip)和解压(unzip)命令
- ubuntu linux zip和unzip类命令详解
- Centos中压缩(zip)和解压(unzip)命令
- 快速排序
- ioremap_nocache函数说明
- (10) 使用Spring的注解方式实现AOP入门 以及 细节
- 验证二代身份证真假
- tar解压与压缩
- zip 和 unzip
- C#中实现三层架构
- rar 的用法
- js中var的作用
- chcon应用举例
- Android实现程序前后台切换效果
- argc 和 argv 详解
- unreal engine4效果很不错
- android引用第三方jar包