LInux之gz文件压缩/解压缩
压缩成gz
gzip *
gzip file
具体参数可使用help查看
$ gzip --help
Usage: gzip [OPTION]... [FILE]...
Compress or uncompress FILEs (by default, compress FILES in-place).Mandatory arguments to long options are mandatory for short options too.-c, --stdout write on standard output, keep original files unchanged-d, --decompress decompress-f, --force force overwrite of output file and compress links-h, --help give this help-k, --keep keep (don't delete) input files-l, --list list compressed file contents-L, --license display software license-n, --no-name do not save or restore the original name and time stamp-N, --name save or restore the original name and time stamp-q, --quiet suppress all warnings-r, --recursive operate recursively on directories-S, --suffix=SUF use suffix SUF on compressed files-t, --test test compressed file integrity-v, --verbose verbose mode-V, --version display version number-1, --fast compress faster-9, --best compress betterWith no FILE, or when FILE is -, read standard input.
解压缩gz
gunzip *
gunzip file.gz
具体也是可以用help查看
$ gunzip --help
Usage: /opt/compiler/gcc-4.8.2/bin/gunzip [OPTION]... [FILE]...
Uncompress FILEs (by default, in-place).Mandatory arguments to long options are mandatory for short options too.-c, --stdout write on standard output, keep original files unchanged-f, --force force overwrite of output file and compress links-k, --keep keep (don't delete) input files-l, --list list compressed file contents-n, --no-name do not save or restore the original name and time stamp-N, --name save or restore the original name and time stamp-q, --quiet suppress all warnings-r, --recursive operate recursively on directories-S, --suffix=SUF use suffix SUF on compressed files-t, --test test compressed file integrity-v, --verbose verbose mode--help display this help and exit--version display version information and exitWith no FILE, or when FILE is -, read standard input.
LInux之gz文件压缩/解压缩相关推荐
- Linux解压short read,LInux之gz文件压缩/解压缩
压缩成gz gzip * gzip file 具体参数可使用help查看 $ gzip --help Usage: gzip [OPTION]... [FILE]... Compress or unc ...
- linux的gz文件怎么解压缩,linux gz 解压缩
linux gz 解压缩 (2011-08-15 16:10:26) 标签: 杂谈 Linux压缩保留源文件的方法: gzip –c filename > filename.gz Linux解压 ...
- linux 图形界面 文件压缩/解压缩 归档管理器 简介
1.Ark Ark是KDE桌面环境默认的归档管理器,支持插件设置,允许你创建一个压缩包,查看压缩文件的内容,解压压缩包的内容到你所选定的目录. 它能处理多种格式,包括 tar.gzip.bzip2.z ...
- linux+shell+解压命令,Shell命令 文件压缩解压缩之gzip、zip详解
本篇文章的主要内容讲述的是shell命令中之文件压缩解压缩之gzip.zip,具有一定参考价值,感兴趣的朋友可以了解一下,希望对你有所帮助. 1.gzip:gzip压缩工具 gzip命令的功能说明: ...
- 服务器里解压缩gz文件夹,Shell命令文件压缩解压缩之gzip、zip的案例分析
Shell命令文件压缩解压缩之gzip.zip的案例分析 发布时间:2020-11-13 10:32:36 来源:亿速云 阅读:114 作者:小新 小编给大家分享一下Shell命令文件压缩解压缩之gz ...
- linux下tar命令解压缩,tar解压缩命令 Linux下的tar压缩解压缩命令详解
<tar解压缩命令 Linux下的tar压缩解压缩命令详解>由会员分享,可在线阅读,更多相关<tar解压缩命令 Linux下的tar压缩解压缩命令详解(14页珍藏版)>请在人人 ...
- 文件压缩解压缩,文件查找
文件压缩解压缩 常见压缩档 > *.zip | zip 程序压缩打包的档案: (很常见,但是因为不包含文档名编码信息,跨平台可能会乱码) > *.rar | rar 程序压缩打包的档案:( ...
- tar.gz文件怎么解压缩_如何解压缩tar.gz文件
tar.gz文件怎么解压缩 如果您使用开源软件,则有时可能会遇到.tar文件. 开源tar存档实用程序自1979年以来一直存在,因此它在POSIX世界中确实无处不在. 它的目的很简单:它将一个或多个文 ...
- 爱快路由研究中关于rootfs.gz文件的解压缩问题
爱快路由研究中关于rootfs.gz文件的解压缩问题 友情提示,如果你看完标题,不知道我要说什么,请直接关闭这个页面,免得浪费你的时间. rootfs.gz文件格式分析 这个文件的头部信息比较特别,开 ...
最新文章
- 内网对时服务 ntp 平滑更改
- 巧用句柄函数:闪烁窗体,做提示功能时很有用哦
- 新一代球王!日本推AI篮球机器人,命中率接近100%!
- 仿形靠模的计算机设计方法,仿形靠模的计算机设计方法.pdf
- springboot2 war页面放在那_亚马逊产品页面如何优化?这些技巧要知道
- HTML中段落标签和换行标签分别是,HTML 基本标签
- [2018.10.31 T3] 玩
- android studio 工程rebuild没反应,Andriod Studio Clear Project或Rebuild Project出错
- C语言libiconv编程,libIconv.lib编码库的生成和使用
- 天正结构TAsd8.2 天正规划与景观设计软件7.5 及注册机
- 抓考研英语单词主要矛盾的经验分享,考研英语真题词频统计
- springboot 架构图
- 基于对数变换和非线性变换的图像增强(图像亮度调节)
- python IRR公式使用——定投基金收益率计算
- python什么意思g_python字符串%%g的格式是什么?
- Helm — Chart介绍
- 达人评测 r7 7840HS和i5 1340p选哪个 锐龙r77840HS和酷睿i51340p对比
- 如何测试支付宝的转账功能
- VS+QT没有自动生成.ui对应的ui_XXXX.h头文件问题
- 爬虫:利用python+requests爬取全国肯德基餐厅门店信息,并写入CSV文件中