docs/man/clamdscan.1
a0faaedf
 .\" Manual page created by Tomasz Kojm, 20021121
b77a9c76
 .TH "Clamd client" "1" "November 29, 2004" "Tomasz Kojm" "Clam AntiVirus"
468b9e48
 .SH "NAME"
 .LP 
a0faaedf
 clamdscan \- scan files and directories against viruses using Clam AntiVirus Daemon
468b9e48
 .SH "SYNOPSIS"
 .LP 
521b19b4
 clamdscan [options] [file/directory]
468b9e48
 .SH "DESCRIPTION"
 .LP 
521b19b4
 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.
468b9e48
 .SH "OPTIONS"
 .LP 
 
 .TP 
 \fB\-h, \-\-help\fR
 Output help information and exit.
 .TP 
 \fB\-V, \-\-version\fR
a0faaedf
 Print version number and exit.
468b9e48
 .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
a0faaedf
 Write all messages to the standard output (stdout) instead of the standard error output (stderr).
468b9e48
 .TP 
521b19b4
 \fB\-\-config\-file=FILE\fR
 Read clamd settings from FILE.
 .TP 
468b9e48
 \fB\-l FILE, \-\-log=FILE\fR
a0faaedf
 Save the scan report to FILE.
468b9e48
 .TP 
b77a9c76
 \fB\-\-remove\fR
 Remove infected files. \fBBe careful.\fR
 .TP 
 \fB\-\-move=DIRECTORY\fR
 Move infected files into DIRECTORY.
 .TP 
a0231a19
 \fB\-\-no\-summary\fR
 Do not display summary at the end of scanning.
468b9e48
 .SH "EXAMPLES"
 .LP 
 .TP 
 (0) To scan a one file:
 
 \fBclamdscan file\fR
 .TP 
a0faaedf
 (1) To scan a current working directory:
468b9e48
 
 \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 
a0faaedf
 2 : An error occured.
468b9e48
 .SH "CREDITS"
 Please check the full documentation for credits.
 .SH "AUTHOR"
 .LP 
a0faaedf
 Tomasz Kojm <tkojm@clamav.net>
468b9e48
 .SH "SEE ALSO"
 .LP 
09b431f0
 clamscan(1), clamd(8), freshclam(1), clamd.conf(5)