On Sun, Feb 22, 2004 at 01:53:41AM +0100, Jesper Juhl wrote the following because they 
could:
> 
> 
> 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

Problem solved. I just upgraded to 0.67, thanks for the tips though. (:

-- 
Joseph A. Nagy, Jr. http://joseph-a-nagy-jr.homelinux.org
Student at Motlow State Community College http://www.mscc.edu
Political Activist Extraordinaire
The only fallacy is the inaction on our part to stave off the worst of 
horrors, the stripping of personal freedom.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to