1, 对于tar.gz 压缩:tar -zcvf archive-name.tar.gz directory-name 解压:tar -zxvf prog-1-jan-2005.tar.gz -C /tmp http://www.tecmint.com/18-tar-command-examples-in-linux/ The Linux “tar” stands for tape archive, which is used by large number of Linux/Unix syst…
打包并压缩文件 tar -zcf ansible.tar.gz ansible/* z gzip属性 c 建立压缩文件 f 指定文件名 v 显示过程 解压文件 tar xzf ansible.tar.gz tar xf ansible.tar.gz -C /tmp/ C 指定输出位置 PS: tar压缩解压缩命令详解 linux下tar.gz.tar.bz2.zip等解压缩.压缩命令小结…