Dwayne Hottinger wrote:
> Does clamscan automatically delete virus infected files if I run clamscan from
> the server prompt?  For example, If I run clamscan /home/* to scan all home
> files will it delete the viruses found or just list them?

$ clamscan -h

                          Clam AntiVirus Scanner 0.83
                (C) 2002 - 2004 Tomasz Kojm <[EMAIL PROTECTED]>

    --help                -h             Print this help screen
    --version             -V             Print version number
    --verbose             -v             Be verbose
    --debug                              Enable libclamav's debug messages
    --quiet                              Only output error messages
    --stdout                             Write to stdout instead of stderr
    --no-summary                         Disable summary at end of scanning
    --infected            -i             Only print infected files
    --bell                               Sound bell on virus detection

    --tempdir=DIRECTORY                  Create temporary files in DIRECTORY
    --leave-temps                        Do not remove temporary files
    --database=FILE/DIR   -d FILE/DIR    Load virus database from FILE or load
                                         all .cvd and .db[2] files from DIR
    --log=FILE            -l FILE        Save scan report to FILE
    --recursive           -r             Scan subdirectories recursively
    --remove                             Remove infected files. Be careful!
 ...

By default it doesn't remove them.
-- 
René Berber

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to