Malware File count Log
This script will store the file count and directory size into a log file. This can also be sent to slack.
The cron example below will run every 3 hours and sends the output of each count to slack, this runs in between rsync crons
0 */3 * * * bash /home/root/scripts/filecount-run.sh