clamav-devel/docs/clamdscan.1
5def21ff
 .\" Manual page created by Tomasz Kojm, 20021121
 .TH "Clamd client" "1" "November 11, 2003" "Tomasz Kojm" "Clam AntiVirus"
28e73e95
 .SH "NAME"
 .LP 
5def21ff
 clamdscan \- scan files and directories against viruses using Clam AntiVirus Daemon
28e73e95
 .SH "SYNOPSIS"
 .LP 
 clamscan [options] [file/directory]
 .SH "DESCRIPTION"
 .LP 
 clamdscan is a simple clamd client, which may be used as a clamscan replacement. clamdscan accepts all the options implemented in clamscan. It's a part of the Clam AntiVirus package.
 .SH "OPTIONS"
 .LP 
 
 .TP 
 \fB\-h, \-\-help\fR
 Output help information and exit.
 .TP 
 \fB\-V, \-\-version\fR
5def21ff
 Print version number and exit.
28e73e95
 .TP 
 \fB\-v, \-\-verbose\fR
 Be verbose. This option causes clamscan to print many additional informations.
 .TP 
 \fB\-\-quiet\fR
 Be quiet \- only output error messages.
 .TP 
 \fB\-\-stdout\fR
5def21ff
 Write all messages to the standard output (stdout) instead of the standard error output (stderr).
28e73e95
 .TP 
 \fB\-l FILE, \-\-log=FILE\fR
5def21ff
 Save the scan report to FILE.
28e73e95
 .TP 
 \fB\-\-log\-verbose\fR
5def21ff
 Save additional messages (mostly useless) to the report file.
28e73e95
 .TP 
 \fB\-\-disable\-summary\fR
5def21ff
 Disable summary at the end of scanning.
28e73e95
 .SH "EXAMPLES"
 .LP 
 .TP 
 (0) To scan a one file:
 
 \fBclamdscan file\fR
 .TP 
5def21ff
 (1) To scan a current working directory:
28e73e95
 
 \fBclamdscan\fR
 .TP 
 (2) To scan all files in /home:
 
 \fBclamdscan /home\fR
 .SH "RETURN CODES"
 .LP 
 0 : No virus found.
 .TP 
 1 : Virus(es) found.
 .TP 
5def21ff
 2 : An error occured.
28e73e95
 .SH "CREDITS"
 Please check the full documentation for credits.
 .SH "AUTHOR"
 .LP 
5def21ff
 Tomasz Kojm <tkojm@clamav.net>
28e73e95
 .SH "SEE ALSO"
 .LP 
5def21ff
 clamscan(1), clamd(8), freshclam(1), sigtool(1), clamav.conf(5), clamav\-milter(8)