How to read the rar file comment on linux command line
问题 I have foo.rar , and I want to read the file comment Comment example on Windows: How to do it in Linux command line? 回答1: Try: rar v archive.rar fname | grep Comment: should work for a one-liner comment. If the comment spans multiple lines you will need more sophisticated output parsing. 来源: https://stackoverflow.com/questions/36943812/how-to-read-the-rar-file-comment-on-linux-command-line