[Linux][Common command] zip operation
2015-06-10 16:35
666 查看
1. uncompress
tar -zxvf xx.tar/xx.tar.gz/xx.gzip //解压文件
tar -zxvf xx.tar/xx.tar.gz/xx.gzip -C ./myfolder/ //解压到指定的myfolder目录下
tar -tf xx.tar //浏览tar包含的文件内容,不解压
unzip xx.zip
2. compress
zip xx.zip xx.txt
tar -zxvf xx.tar/xx.tar.gz/xx.gzip //解压文件
tar -zxvf xx.tar/xx.tar.gz/xx.gzip -C ./myfolder/ //解压到指定的myfolder目录下
tar -tf xx.tar //浏览tar包含的文件内容,不解压
unzip xx.zip
2. compress
zip xx.zip xx.txt
相关文章推荐
- Linux socket 初步
- 10 篇对初学者和专家都有用的 Linux 命令教程
- Linux 与 Windows 对UNICODE 的处理方式
- Ubuntu12.04下QQ完美走起啊!走起啊!有木有啊!
- 解決Linux下Android开发真机调试设备不被识别问题
- 运维入门
- 运维提升
- Linux 自检和 SystemTap
- tar常见文件解压法
- Ubuntu Linux使用体验
- c语言实现hashmap(转载)
- Linux 信号signal处理机制
- linux下mysql添加用户
- Scientific Linux 5.5 图形安装教程
- Linux打包压缩命令
- 基于 Linux 集群环境上 GPFS 的问题诊断
- 谁是桌面王者?Win PK Linux三大镇山之宝
- vivi下重新调整分区
- Linux VS Unix:Linux欲一统天下 Unix不死