如何在 linux 命令行上阅读 rar 文件注释

How to read the rar file comment on linux command line

我有foo.rar,我想看文件评论

Windows 上的评论示例:

如何在 Linux 命令行中执行?

尝试:

rar v archive.rar fname | grep Comment:

应该适用于单行评论。如果评论跨越多行,您将需要更复杂的输出解析。