美文网首页
【*nux命令】tar命令&&gzip命令

【*nux命令】tar命令&&gzip命令

作者: 清水芦苇 | 来源:发表于2017-08-17 15:45 被阅读0次

压缩,解压缩,打包,解包

命令参数

-x Extract to disk from the archive. If a file with the same name appears more than once in the archive, each copy will be extracted, with later copies overwriting (replacing) earlier copies.
-v Produce verbose output. In create and extract modes, tar will list each file name as it is read from or written to the archive. In list mode, tar will produce output similar to that of ls(1). Additional -v options will provide additional detail.
-f Read the archive from or write the archive to the specified file. The filename can be - for standard input or standard output.

使用功能

解包:tar xvf FileName.tar

相关文章

  • 【*nux命令】tar命令&&gzip命令

    压缩,解压缩,打包,解包 命令参数 -x Extract to disk from the archiv...

  • gzip: stdin: not in gzip format

    在Linux环境下,通过tar -zxvf 命令解压文件时遇到”gzip: stdin: not in gzip ...

  • linux/unix之压缩文件

    gzip压缩数据 单个压缩 gzip test.log 批量压缩 gzip test* 归档数据 tar命令 压缩...

  • Linux tar 解压缩相关命令

    命令速查 *.tar 用tar –xvf 解压 *.gz 用 gzip -d或者gunzip 解压 *.tar.g...

  • 解压

    1 .tar.gz使用tar命令进行解压 解压到指定的文件夹 gz文件 解压 gzip 命令 也可使用zcat命...

  • Linux 基础1

    2018/10/10 一、Linux基本命令: gzip a.tar 将a.tar压缩为a.tar.gzgu...

  • Linux压缩及归档

    1、归档和压缩 压缩命令工具:gzip,bzip2,xz,zip 归档命令工具:tar Tips 压缩算法:算法不...

  • tgz解压失败:gzip: stdin: not in gzip

    使用tar -zxvf 命令解压备份M.tgz tar zxvf M.tgz 报错: gzip: stdin: n...

  • linux基本命令

    最基本的几个命令 文件相关的命令 cat和>结合可以合并文件 grep查找 tar归档 gzip压缩 用户权限 u...

  • linux系统常用命令

    解压缩命令总结 1、.tar 用 tar –xvf 解压2、.gz 用 gzip -d或者gunzip 解压3、....

网友评论

      本文标题:【*nux命令】tar命令&&gzip命令

      本文链接:https://www.haomeiwen.com/subject/xtbgrxtx.html