Best way to COMPLETELY disable Spotlight?

Discussion in 'macOS' started by theaero, Mar 7, 2011.

  1. theaero macrumors 6502

    Joined:
    Mar 5, 2008
    #1
    Hello.

    I do not want spotlight at all. No indexing, no index files, no icon in the menubar, etc. I also don't want to use a program like Spotless, since I know its possible to achieve what I want via terminal. I have read about 5 different ways to disable spotlight, but nothing seems to do it completely. I want no mds or mdsworker processes, etc. Also, I'd like everything to be completely reversible. Can anyone else me out? Thanks a BUNCH in advance.
    Cheers!
     
  2. tersono macrumors 68000

    tersono

    Joined:
    Jan 18, 2005
    Location:
    UK
    #2
    sudo su -
    Password:
    root# cd /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Support/
    tar -cvf spotlightfiles.tar ./
    (saves all the relevant files to a tarball in case you ever want ‘em back)


    rm mdworker
    rm mdworker32
    rm mds
    rm mdwrite

    sync;sync;reboot

    bingo
     
  3. theaero thread starter macrumors 6502

    Joined:
    Mar 5, 2008
    #3
    Thanks, I think I get it. What does the sync/sync part do though?
     
  4. ScoobyMcDoo macrumors 65816

    Joined:
    Nov 26, 2007
    Location:
    Austin, TX
    #4
    pure paranoia ;)

    at the command prompt type "man sync" to get a more detailed answer.
     
  5. theaero thread starter macrumors 6502

    Joined:
    Mar 5, 2008
    #5
    I need to get in touch with my terminal/bash/unix roots.... of which I have none.
     

Share This Page