I agree with Maarten's comment - if you want to do it you could create a
quick bash script to scan something like "diskutil list" for any changes,
and if you detect changes, run ClamAV against the new mounted filesystem.
For a more permanent/professional solution you could look on Mac developer
forums - chances are there is a built in system API which allows you to
scan for new devices.

On Mon, Jul 10, 2017 at 8:58 AM, Maarten Broekman <
maarten.broek...@gmail.com> wrote:

> The functionality to do it on OS X is OS X related, not ClamAV related.
> Your best option would be to ask around on Mac OS X developer forums.
>
> On Mon, Jul 10, 2017 at 6:07 AM, crazy thinker <crazythinke...@gmail.com>
> wrote:
>
> > I want  to  do it   on teriminal. Could you explain core logic that would
> > be used in this feature for OS X. I have researched on this.. I have
> found
> > solution with bash script for Linux Enivronment not on OS X
> >
> > On 10 July 2017 at 02:26, Al Varnell <alvarn...@mac.com> wrote:
> >
> > > On Mon, Jul 10, 2017 at 01:39 AM, crazy thinker wrote:
> > > >
> > > > Hi ClamAV Developers, Users
> > > >
> > > > I would like to do auto scan any plugged in USB Storage Device/CD on
> > OS X
> > > > Environment. could any one of you help me to achieve this.
> > > >
> > > > Any help/suggestions would be appreciated
> > > >
> > > >
> > > > Thanks,
> > > > Crazy Thinker Inc
> > >
> > > ClamXav's Sentry process will take care of that for you.
> > > <https://www.clamxav.com/>.
> > >
> > > -Al-
> > > --
> > > Al Varnell
> > > Mountain View, CA
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > clamav-users mailing list
> > > clamav-users@lists.clamav.net
> > > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> > >
> > >
> > > Help us build a comprehensive ClamAV guide:
> > > https://github.com/vrtadmin/clamav-faq
> > >
> > > http://www.clamav.net/contact.html#ml
> > >
> > _______________________________________________
> > clamav-users mailing list
> > clamav-users@lists.clamav.net
> > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> >
> >
> > Help us build a comprehensive ClamAV guide:
> > https://github.com/vrtadmin/clamav-faq
> >
> > http://www.clamav.net/contact.html#ml
> >
> _______________________________________________
> clamav-users mailing list
> clamav-users@lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to