$ clamscan --unrar test-failure.rar /home/zolw/Clam/test/test-failure.rar: RAR module failure. UNRAR 3.00 freeware Copyright (c) 1993-2002 Eugene Roshal Extracting from /home/zolw/Clam/test/test-failure.rar Extracting test1 OK All OK /tmp/44694f5b2665d2f4/test1: ClamAV-Test-Signature FOUND /home/zolw/Clam/test/test-failure.rar: Infected Archive FOUNDTIP: You can force clamscan to list all infected files in archive using -disable-archive (it disables the built-in transparent decompressors) and -unzip -unrar....
-unzip: Usually you don't need this option because Zip format is
supported by libclamav. However it may be useful if libclamav
fails to unzip some file. clamscan was tested with
UnZip 5.41 of 16 April 2000, by Info-ZIP.
-unrar: Tested with UNRAR 3.00 freeware.
-arj: Tested with arj 3.10b.
-zoo: Tested with zoo 2.1.
-lha: Tested with LHa for Unix V 1.14e.
-jar: clamscan uses unzip for .jar files. Tested with
UnZip 5.41 of 16 April 2000, by Info-ZIP.
-tar: This option enables support for non-compressed archives. Tested
with GNU tar 1.13.17.
-deb: This option enables support for debian binary packages. Tested with
GNU ar
2.12.90.0.14. Implies -tgz , but doesn't
conflict with -tgz=FULLPATH
-tgz: This option supports .tar.gz and .tgz files. You need GNU
tar, on non-Linux system you probably have it installed as
gtar and if it can be found in $PATH please use
-tgz=gtar to tell clamscan to use gtar instead of
tar. Otherwise please supply a full path with -tgz