On Wed, Jan 28, 2004 at 08:20:41AM +0100, Tomasz Kojm wrote:
> On Tue, 27 Jan 2004 15:23:56 -0800 (PST)
> Ryan Finnie <[EMAIL PROTECTED]> wrote:
> 
> > find /path -ctime -1 -exec clamscan \{\} \;
> > 
> > but that invokes clamscan for EVERY matching file found.  Instead, I
> > would like to request that a new flag, say -f, be added to
> > clamscan/clamdscan that takes a list of files, one file per line, from
> > a file (-f file) or stdin (-f -).  That way you could do:
> > 
> > find /path -ctime -1 | clamscan -i -f -
> > 
> > or:
> > 
> > find /path -ctime -1 > /tmp/toscan
> > clamscan -i -f /tmp/toscan
> > 
> > and put it in a nightly cron job.  What do you think?
> 
> You can use the CVS version - clamscan supports multiple file arguments
> from command line, and build a script that executes clamscan on a bunch
> of files. You can fall into a problem with special characters and
> spaces, though.

Just a thought - perhaps you could modify the "tob" (Tape Orientated
Backup) scripts to do this.  Tob supports full, incremental and
differential file listings.

Jo.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to