Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3567

System and Network configuration • clamav scan file 1 day old

$
0
0
Hello,
I have not yet found out how to fix the command.
There are many ways.

As an example, you can create a list of files to scan, then pass this list to the clamscan command (using its -f option):

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"
Here are the manual page of the two involved programs:Hope this helps.
If I want to scan the /home/foo directory should there be a -r in there somewhere?
Thanks

Statistics: Posted by rick71 — 2024-06-06 03:07 — Replies 6 — Views 247



Viewing all articles
Browse latest Browse all 3567

Trending Articles