2003-11-11 22:10:27 +00:00
. \" Manual page created by Tomasz Kojm, 20021121
2005-01-26 16:50:10 +00:00
.TH "Clamd client" "1" "January 26, 2005" "Tomasz Kojm" "Clam AntiVirus"
2003-07-29 15:37:11 +00:00
.SH "NAME"
.LP
2003-11-11 22:10:27 +00:00
clamdscan \- scan files and directories against viruses using Clam AntiVirus Daemon
2003-07-29 15:37:11 +00:00
.SH "SYNOPSIS"
.LP
2004-02-20 15:49:29 +00:00
clamdscan [options] [file/directory]
2003-07-29 15:37:11 +00:00
.SH "DESCRIPTION"
.LP
2004-02-20 15:49:29 +00:00
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.
2003-07-29 15:37:11 +00:00
.SH "OPTIONS"
.LP
.TP
\fB \- h, \- \- help\fR
Output help information and exit.
.TP
\fB \- V, \- \- version\fR
2003-11-11 22:10:27 +00:00
Print version number and exit.
2003-07-29 15:37:11 +00:00
.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
2005-01-26 16:50:10 +00:00
Write all messages (except for libclamav output) to the standard output (stdout).
2003-07-29 15:37:11 +00:00
.TP
2004-02-20 15:49:29 +00:00
\fB \- \- config\- file=FILE\fR
Read clamd settings from FILE.
.TP
2003-07-29 15:37:11 +00:00
\fB \- l FILE, \- \- log=FILE\fR
2003-11-11 22:10:27 +00:00
Save the scan report to FILE.
2003-07-29 15:37:11 +00:00
.TP
2007-01-13 00:02:54 +00:00
\fB \- m, \- \- multiscan\fR
Always use MULTISCAN instead of CONTSCAN.
.TP
2004-11-28 23:26:29 +00:00
\fB \- \- remove\fR
Remove infected files. \fB Be careful.\fR
.TP
\fB \- \- move=DIRECTORY\fR
Move infected files into DIRECTORY.
.TP
2004-10-01 00:31:18 +00:00
\fB \- \- no\- summary\fR
Do not display summary at the end of scanning.
2003-07-29 15:37:11 +00:00
.SH "EXAMPLES"
.LP
.TP
(0) To scan a one file:
\fB clamdscan file\fR
.TP
2003-11-11 22:10:27 +00:00
(1) To scan a current working directory:
2003-07-29 15:37:11 +00:00
\fB clamdscan\fR
.TP
(2) To scan all files in /home:
\fB clamdscan /home\fR
.SH "RETURN CODES"
.LP
0 : No virus found.
.TP
1 : Virus(es) found.
.TP
2003-11-11 22:10:27 +00:00
2 : An error occured.
2003-07-29 15:37:11 +00:00
.SH "CREDITS"
Please check the full documentation for credits.
.SH "AUTHOR"
.LP
2003-11-11 22:10:27 +00:00
Tomasz Kojm <tkojm@clamav.net>
2003-07-29 15:37:11 +00:00
.SH "SEE ALSO"
.LP
2004-09-19 00:10:49 +00:00
clamscan(1), clamd(8), freshclam(1), clamd.conf(5)