I apologise. I am not clear.If you use the -r option for clamscan, you don't need the find command; e.g.:If I want to scan the /home/foo directory should there be a -r in there somewhere?Code:
$ clamscan -r /home/foo/ --log="$HOME/$(date +%FT%T)_clamscan.log"
Code:
find /home/foo -ctime -1 -type f > $HOME/filelist_to_scan.log
Code:
----------- SCAN SUMMARY -----------Known viruses: 8694409Engine version: 1.0.3Scanned directories: 0Scanned files: 1211Infected files: 1Data scanned: 941.11 MBData read: 2089.89 MB (ratio 0.45:1)Time: 163.307 sec (2 m 43 s)Start Date: 2024:06:06 02:00:41End Date: 2024:06:06 02:03:24
Statistics: Posted by rick71 — 2024-06-07 03:44