您的位置:首页 > 运维架构 > Linux

[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

 

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux tar command