# -i prints only infected files, -f is the list of files to scan, and -l is the output log
clamscan -i -f "${LIST}" -l "${RESULTS}"</pre>
== Using Greyhole ==
You will need to do some additional setup to scan files when using Greyhole.
* Set up [https://wiki.amahi.org/index.php/Mount_Shares_Locally mount shares locally]
* Ensure the SCAN_DIR= <code>/mnt/samba/share</code> and not <code>/var/hda/files/share</code>
Now when the daily scan runs, it will scan the Greyhole enabled share correctly.
==References==