10

I scanned the home directory using ClamAV which found 13 threats. The list was also displayed, but when I tried to delete or quarantine files, it did not proceed. Any ideas?

  • Can you please post a list with the files that Clamav (which searches for windows threats) assumed as threats? – hytromo Aug 3 '12 at 7:51
  • the next time scanning revealed no threats, hence i am not able to show you the threats, sorry. – Sivamani Aug 3 '12 at 10:55
  • however i dont know hoe to scn the pendrive or other devices? – Sivamani Aug 3 '12 at 10:56
16

You can use clamscan with the option --remove to automatically remove all infected file in the scanned folder. WARNING: Files are gone.

clamscan -r --remove /home/USER

Another possibility is to move the infected files to another folder with the option --move=FOLDER, so you can later check which files of them maybe not infected or a virus.

clamscan -r --move=/home/USER/VIRUS /home/USER

See: How do I scan for viruses with ClamAV?

1

Once the scan is finished, a window should pop up listing the threats. You have to actively select (click on) each threat you want deleted, then click on the delete or quarantine buttons. Simply clicking "delete" without selecting a file will do nothing, which is what you've run into. To select all, click on the top file, scroll to the bottom of the list, and shift-click on the last file. Then clicking quarantine or delete will process everything found. You will get confirmation windows popping up for deleting certain things like .pdf files.

protected by Community Apr 27 at 18:13

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.