Gerard Seibert wrote:
> What is the syntax to use to check a file to insure it is not broken
> before installing it? I have tried a few combinations, but nothing
> seems to be producing the results I am looking for.
>
>   
Try clamscan -d /path/to/your/db/dir /some/clean/text/file.txt

It should return zero exit code when your signature file is not broken.
/path/to/your/db/dir should be a directory which contains the signature
files you want to check
/some/clean/text/file.txt is just a plain text file with no virus. An
empty file should work as well.

Regards,

Fajar
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to