linux命令网

当前位置:linux命令 > linux常用命令

zipnote命令 – 显示压缩包注释内容

zipnote 命令可用于从 zip 归档中提取注释或添加注释。要显示注释,只需在命令前面加上归档名称即可,如果之前未添加任何注释。

语法格式:zipnote [参数]

常用参数:

-w从stdin向zipfile写入注释
-b使用临时zip文件的路径
-q禁止显示某些信息性消息

参考实例

显示linuxmingling.zip压缩文件的注释内容:

[root@linuxmingling ~]# zipnote linuxmingling.zip

使用zipnote更改files.zip中的注释,首先需要将zipnote的输出捕获到文件中,让我们将输出重定向到名为comments.txt的文件:

[root@linuxmingling ~]# zipnote files.zip> comments.txt

使用-w参数,从stdin向zipfile写入注释:

[root@linuxmingling ~]# zipnote -w files.zip < comments.txt

标签压缩包 注释 内容 显示 zipnote


相关linux命令
苏ICP备2022026517号-3  |   苏公网安备 32081202000317号
淮安先皓网络科技有限公司 © 版权所有  联系我们