clamav-devel/docs/man/clamdscan.1
5def21ff
 .\" Manual page created by Tomasz Kojm, 20021121
a9ebff44
 .TH "Clamd client" "1" "February 20, 2004" "Tomasz Kojm" "Clam AntiVirus"
28e73e95
 .SH "NAME"
 .LP 
5def21ff
 clamdscan \- scan files and directories against viruses using Clam AntiVirus Daemon
28e73e95
 .SH "SYNOPSIS"
 .LP 
a9ebff44
 clamdscan [options] [file/directory]
28e73e95
 .SH "DESCRIPTION"
 .LP 
a9ebff44
 clamdscan is a simple clamd client which may be used as a clamscan replacement. clamdscan accepts all the options implemented in clamscan but most of them will be ignored because its scanning abilities only depend on clamd. clamdscan is a part of the Clam AntiVirus package.
28e73e95
 .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 
a9ebff44
 \fB\-\-config\-file=FILE\fR
 Read clamd settings from FILE.
 .TP 
28e73e95
 \fB\-l FILE, \-\-log=FILE\fR
5def21ff
 Save the scan report to FILE.
28e73e95
 .TP 
02b4b0c7
 \fB\-\-no\-summary\fR
 Do not display 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 
b2d28e76
 clamscan(1), clamd(8), freshclam(1), clamd.conf(5)