View Full Version : How to remove infected files after scan (ClamAV)
Umpol
08-15-2009, 07:21 AM
Dear All
I know scan command like
/usr/bin/clamdscan DIRECTORY
but after scan clamav do not thing. I would like clamav to remove all infected files. may be
/usr/bin/clamdscan DIRECTORY --remove
or
/usr/bin/clamdscan --remove DIRECTORY
:confused: :confused:
Umpol
08-15-2009, 08:31 PM
OK after I test it myself the right one is
/usr/bin/clamdscan --remove DIRECTORY
floyd
08-16-2009, 10:01 AM
What is a DIRECTOR?
Umpol
08-18-2009, 07:05 AM
What is a DIRECTOR?
any directory you want to scan I would like to recommend home so the command line should be
/usr/local/bin/clamdscan --remove /home
you may see other commands by
/usr/local/bin/clamdscan --help
floyd
08-18-2009, 07:28 AM
any directory you want to scan I would like to recommend home so the command line should be
So you mean DIRECTORY not DIRECTOR. Its good to be clear especially when we are talking about commands. DIRECTORY and DIRECTOR are not the same words.
Also you mean the real directory should replace DIRECTORY and the word DIRECTORY itself should not be used. Its good to explain these thing to new people. If you read these forums on a regular basis you will see that there are a lot of new admins who will take your commands literally.
Umpol
08-18-2009, 09:01 PM
OK I changed it.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.