If I want to scan the /home/foo directory should there be a -r in there somewhere?Hello,There are many ways.I have not yet found out how to fix the command.
As an example, you can create a list of files to scan, then pass this list to the clamscan command (using its -f option):Here are the manual page of the two involved programs:Hope this helps.Code:
$ find /home/fooname/icons/ -ctime -1 -type f > $HOME/filelist_to_scan.log$ clamscan -f $HOME/filelist_to_scan.log --log="$HOME/$(date +%FT%T)_clamscan.log"
Thanks
Statistics: Posted by rick71 — 2024-06-06 03:07 — Replies 6 — Views 247