Where does OS X store ClamXav files?

Discussion in 'all things UNIX' started by Riverrun, Feb 15, 2009.

Thread Status:
Not open for further replies.
  1. Riverrun

    Riverrun Registered Member

    Joined:
    Feb 19, 2007
    Posts:
    376
    Location:
    ~
    Spent a frustrating half-hour looking for them. Not in Application Support. Didn't see them in the System files (unlikely to be there, anyway) and in any case it's not a good idea to mess with System files in OS X.

    Google didn't help.

    They've got to be in User/Library somewhere but damned if I can find them and neither can Spotlight.

    Does anyone know where they are?

    It's not that I want to uninstall Clam but I do need to delete one file.
     
  2. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    i think macs keep all the files in one directory like a standalone app so you could try running this from the terminal-
    Code:
    which clamxav
    change clamxav to whatever runs clam from the terminal.

    you can use the find command too, like this -
    Code:
    find / | grep clam
    change / for somewhere else if you think you have an idea which directory it should be in i.e. /applications.

    actually, run locate first, locate is far faster (if macs have it?)
    locate clam
    or
    locate clamconf
    or locate any of these which calm uses on linux -
    clamscan, clamdscan, clamav-config

    you can try having clam running and run this too -
    Code:
    ps -aux |grep clam
    i'm not sure how sensible any of those ideas are for finding stuff on a mac, it should help if all files are in the same directory.

    EDIT: it's worth getting a book on the shell macs use, i think bsd systems normally run a C type shell, i think you can check which you use by running this -
    Code:
    echo $SHELL
    i looked it up and this will tell you -
    Code:
    ps | grep `echo $$` | awk '{ print $4 }' 
    that helps make my point, i've never bothered reading a book on shells, if i had i probably would have known that last command lol
     
    Last edited: Feb 16, 2009
  3. Riverrun

    Riverrun Registered Member

    Joined:
    Feb 19, 2007
    Posts:
    376
    Location:
    ~
    TY Iceni, I found it. It wasn't updating properly.
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.