How to set up real-time scan by clamav on Raspberry Pi 4 ?
This article shows how to setup clamonacc in clamav. clamonacc is for real time scanning software included in clamav. You can try it with this page because here shows commands/scripts which is used to setup. Do it and secure your Raspberry Pi to be more safe!