【问题标题】:How to read the rar file comment on linux command line如何在 linux 命令行上阅读 rar 文件注释 【发布时间】:2016-08-24 22:30:49 【问题描述】: 我有foo.rar,想看文件注释 Windows 上的评论示例: 在Linux命令行中怎么做? 【问题讨论】: 标签: linux command-line rar winrar 【解决方案1】: 试试: rar v archive.rar fname | grep Comment: 应该适用于单行评论。如果注释跨越多行,您将需要更复杂的输出解析。 【讨论】: 也可以使用-z参数manpages.ubuntu.com/manpages/zesty/man1/rar.1.html 那个-z参数其实是用来设置存档注释的,不是读取。