On my system
app/kod/archiveLib/bin/rar v /path/to/file.rar
Outputs:
UNRAR 5.40 freeware Copyright (c) 1993-2016 Alexander Roshal
Archive: /path/to/file.rar
Details: RAR 4, volume
Attributes Size Packed Ratio Date Time Checksum Name
----------- --------- -------- ----- ---------- ----- -------- ----
-rw-rw-r-- 12344567 11344567 --> 2019-03-25 02:02 1AA24184 file
----------- --------- -------- ----- ---------- ----- -------- ----
12344567 11344567 9% volume 1 1
This is when the archive is a multi-part archive. Therefore we need to adjust the regex slightly to include this case.