system-scripts/downloads/scan-downloads.sh

4 lines
130 B
Bash
Executable File

#!/bin/bash
mkdir -p $HOME/.clamscan/
clamscan -r --remove --log=$HOME/.clamscan/$(date +"%Y%m%d-%H%M%S").log /mnt/data/downloads