John Smith
1 min readDec 3, 2017

--

Here’s my command. This does a scan, logs the errors/hits, and quarantines the files.

sudo mkdir /INFECTED
sudo clamscan -r — scan-pdf=yes -l /INFECTED/infected.txt — move=/INFECTED/ /

You can save it in a text file, rename it from .txt to .command, then in terminal do a chmod 755 to it, and now you can run it by double-clicking the command.

--

--