On Sat, Dec 09, 2006 at 05:15:15PM -0800, Bill Landry said:
> Read my original post, not what was left from someone else's response. 
> What I would have to do is download each file individually, decompress
> the file, scan the directory, move the file, clean up the directory,
> download the next file, and repeat the process.  Not a big deal, I was
> simply posing the question here since the man page seems to indicate
> that single file scanning is supported with the "-d" switch.

You don't even need to scan a file.  Just run clamscan -d $newile, and
check the exit code.  If it's 50, the database is corrupt.  The rest of
what you're describing is, well, just atomic file moves.  I don't see
the problem, really.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | Great Moments in History: #3  August    |
|  [EMAIL PROTECTED]             | 27, 1949:  A Hall of Fame opened to     |
|  http://www.lobefin.net/~steve | honor outstanding members of the        |
|                                | Women's Air Corp.  It was a WAC's       |
|                                | Museum.                                 |
 --------------------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to