On Sat, 21 Feb 2004, Joseph A. Nagy, Jr. wrote:

> On Sat, Feb 21, 2004 at 04:59:49PM +0000, Virgo P?rna wrote the
> following because they could:
> > On Sat, 21 Feb 2004 10:17:46 -0600, Joseph A. Nagy, Jr. wrote:
> > >
> > > Doh.
> > >
> >
> >    But you can use "clamscan ." to scan current directory ot "clamscan
> > /path/to/directory" - it works just fine this way.
> >
>
> Perhaps but I'm wanting to set up crontab jobs to specifically scan
> certain directories and I don't want to have to specify every single
> sub-dir.
>
A workaround could be something like

for i in `find /path/to/base/dir -type d`; do (cd $i ; clamscan .); done


/Jesper Juhl




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to