How to turn ON Spotlight in Terminal?

I recently upgraded my Dual 1.8 G5 to Tiger, and followed lots of advice to turn off Spotlight. I did this via the Terminal. well, ive decided that i want it back on, but i dont have the directions to turn it back on, only off via the Terminal. I am not a "pro" at the Terminal, its actually a little scary haha so please, if you can help me I would greatly appreciate it! thanks!!!

I believe this does it:
mdutil -i on
Consult the man page for the command help: man mdutil

Similar Messages

  • How to temporarily turn OFF Spotlight Indexing?

    It was suggested to me that it is best to turn off spotlight indexing for the duration of an initial clone backup of your system drive. How can this be done? Thanks.

    The advice you have been given is incorrect. There is no need whatsoever to turn Spotlight off even temporarily. Just prior to the cloning you should check that indexing of your boot volume is not occurring - simply because the competition for CPU will slow the cloning down. Just click on the Spotlight symbol at the right hand end of your menubar to see that you only have the text entry box.
    Also, there is usually no need to have a clone indexed, and so you should put the target volume into the Privacy tab of System Preference / Spotlight -- that will ensure that your target does not start to be indexed during the cloning and that the target volume does not become indexed later. Should you ever need to work on the clone and want it to be indexed, just remove that volume from 'Privacy'.
    Ignoring any references to Carbon Copy Cloner, see http://forums.bombich.com/viewtopic.php?t=14531.
    Andreas

  • Trying to turn off spotlight because it's a resource hog.  open terminal and enter command but it won't respond or even ask for password.

    trying to turn off spotlight because it's a resource hog.  open terminal and enter command but it won't respond or even ask for password.

    Step #1:
    In System Preferences click on Spotlight.
    Step #2:
    Click on the Privacy tab here.
    Step #3:
    Click on the + button here and when the window opens click on "Macintosh HD" (or whatever you've named your HD) and then click the Choose button.

  • Turning off Spotlight

    I need to turn off Spotlight in order to defragment an external drive: Terminal is showing two open files (both named "Spotlight-V100/.store.db") on my external, so my optimization software won't unmount it. I have tried unmounting the drive through the Finder, turning it off, back on and mounting it, as well as re-starting my hard drive, but nothing works. I have tried dragging the drive to the "Privacy" window in the Spotlight preferences, but all that does is open up a window to ask which folders on the drive should be private. I don't use Spotlight anyway; don't like it. (I find it much clunkier than performing a "find" in the Finder.) So how can I get rid of it?

    Here's more detail on Spotlight's indexing, including details on how to remove indexing files and possible disadvantages of disabling indexing (such as indicated by other poster).
    [X-lab Spotlight tips|http://www.thexlab.com/faqs/stopspotlightindex.html#Anchor-Stopping-47857]

  • How do I get rid of Terminal,It is preventing access to pictures

    I have an iMac 27in  3.2 ghz 16GB memory running Yosemite 10-10-2.When I try to open "pictures" I get a small window headed "Terminal"and this prevents "pictures" opening,this only occurs on pictures .How do I get rid of Terminal ?

    Back up all data before continuing.
    Please triple-click anywhere in the line below on this page to select it:
    xattr -c Pi*
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    Wait for a new line ending in a dollar sign ($) to appear below what you entered. You can then quit Terminal. Test.

  • How to turn on usernoted in mountain lion after i accidently turned it off?

    how to turn on usernoted in mountain lion after i accidently turned it off?

    Usernoted was continually crashing and eating up memory. I clicked on it in the activity monitor and it took me to a place where I could turn it off. Without thinking I did so. I think I turned it off in the console or the terminal. I don't remember exactly what was written. I just clicked  to allow it to be turned off. Since then I cannot upload anything to facebook directly from my imac or from safari when I use share. But iI still get facebook notifications in the notification center. I have restarted and even shut down and then restarted and also logged out and in and I still can't share.

  • Time machine super slow on Mac Pro, had to turn of Spotlight

    I ran time machine on a external drive and had no problems for years. I swithed to a larger internal hardrive and the problems began. I read about turning off Spotlight and I did and everything worked fast. But do I need to turn it off with every back up? I'm on lion, did mountain lion fix the issue?

    It would probably take 12 hrs to zero (long full format, zero all) a 2TB drive, and especially any that are green, that don't have 7.2k spindle speed.
    The USB interface and some external cases when used with TimeMachine "drop off" and stop communicating and act as if they are no longer present. So interface like USB plus variable rpm and the fact that green drives will park the head and 'sleep' regularly, causes trouble.
    Disk Utility : Help menu. Tells you how to use Erase or Secure Erase.
    Use to be there was format or initialize. Now it is all just erase and erase options.
    And even then zero all does not always find or map out a weak sector.
    Internal would be native SATA interface and avoid the 'other' interface and the external drive bridge (has to have a bridge to talk to SATA over USB or FW interfaces).

  • How I solved my Spotlight+ Mail indexing problem

    OK, so I thought I would post my solution to a stubborn indexing problem, for people who may have the same issue (and it does seem many people do).
    Problem: Spotlight index was unreliable. In particular, Spotlight was terrible at indexing mail. It could not find the messages by content that it would find by searching the "from" field, nor could it find those reliably. Unusable.
    What DID NOT work:
    -- adding and removing any folder whatsoever in the Privacy preferences of Spotlight. The index would rebuild, but with the same problems.
    -- doing this via terminal (e.g, using sudo mdutil -E /Volumes/MyHardDisk)
    -- using Onyx
    -- using Spotless
    -- simply reinstalling the system
    -- manually modifying the plist files inside the .spotlight folder to add and remove the folders that would not get indexed.
    What DID work:
    -- first, I reinstalled the system. That's not such a big deal. Upgrade up to 10.4.6
    -- then, I authorized the root user (that's probably not necessary) (this, you do by using Netinfo manager)
    -- Then, I deactivated the index (via terminal:
    sudo mdutil -i off /Volumes/MyHardDisk
    -- now the tricky part. This concerns Mail, in particular.
    I have a very complex mail folder (tens of thousands of messages). I noticed that inside each mail folder, I had two things that were not supposed to be there
    1. a copy of each folder.mbox which was empty, but with the same name without the extension .mbox. This is probably something that was created while importing mail from Panther to Tiger, for what I can tell.
    2. Most importantly, a file named ".index.ready". This also, apparently, was an old legacy coming from Panther. I suspect this was the main problem for the lack of indexing in Mail.
    Ok, so... I deleted these folders and files. If you have a complex structure of subfolders, you can delete the files with an Unix command by first cd to your mail folder, and then use
    find . -name \.index.r* -ok rm {} \;
    which will ask you confirmation before deleting each file.
    It was faster to remove the empty subfolders by hand, as they all had different names.
    -- Ok, at this point, I erased entirely the .Spotlight-V100 directory which stays at the root of your computer. You can do it with a rmdir command from the terminal or, as I did, you can login as root (remember, we activated root), use a utility that allows you to see hidden files (e.g., Tinkertool), and move it manually to the trash folder.
    Then I emptied the trash. For superstition, I restarted, and let the index be built again (that took about 5 hours in my computer, for an HD with about 60 gb occupied on it).
    Now everything seems to work perfectly fine. I don't know whether this procedure can be shortened, but I do know that nothing else worked for me. I thought I would post it here as I spent sooo much time to solve this problem, and furthermore, I found that none of the suggested solutions would work.
    OK, your responsibility to do it, if you want to do it. Hope nobody needs to!
    Best to you all,
    l.
      Mac OS X (10.4.6)  

    Thank you, thank you, thank you, Lucabo! Using ideas from your post, I also (at least for now) solved my Mail indexing problem. One day (not even after an upgrade) Mail just quit finding messages by content, even when I had open a message with that content!
    What I did:
    -- In System Preferences, told Spotlight to index only Mail (I just use grep from a Terminal window for everything else!)
    -- Ensured Mail app wasn't running
    -- Backed up my Library/Mail folder to an external disk
    -- Turned off indexing via Terminal (after sudo sh), with
    mdutil -i off /Volumes/MyHardDisk
    -- Deleted old files in my mailboxes (inside the whatever.mbox folders):
    .index.ready
    mbox
    tableofcontents
    content_index
    It was clear that mbox, tableofcontents, and content_index were left over from a previous version of mail - they hadn't been accessed since I upgraded.
    Note that I didn't delete the whatever.mbox folders (just the plain mbox file inside)!
    -- Deleted (in Terminal) the .Spotlight-V100 in the root directory
    -- Restarted my Mac. The indexing started itself. Since I had it set up to index only Mail, it took about 3-ish hours to finish (I have 100s of 1000s of emails in thousands of folders).
    After the indexing finished, all the test searches that I tried worked. From now on I will always be suspicious if search doesn't find anything!
    Also, I just checked - using the Spotlight field on the menu bar now works better too. When the Mail search problem showed up, I tried using the Spotlight field and the Spotlight window, but they would just flash up a few items, remove the list, over and over, sometimes with the beachball, then finally settle to an empty list. Now the Spotlight field seems to work.
    I infer that the Spotlight index gets corrupted, and that the Spotlight code doesn't notice that it's reading junk from the index...
    BTW, about the same time that search quit working, some emails in my Inboxes got highlighted with a dark brown background color. Have no idea why. They aren't marked as Junk (the junk messages have the text in the usual lighter brown). But, when I select a message with the dark brown highlight, mark it as junk, then mark it as not junk, the dark brown highlight goes away. On some occasions, just quitting Mail and restarting makes the dark brown highlights go away - but not always. Sigh... at least it's not a show stopper, even if it is ugly!
    Thanks again, Lucabo, for your post!
      Mac OS X (10.4.6)  

  • When I open iTunes it will automatically go to full screen mode. I can't work out how to turn this off. Only iTunes opens to full screen mode.

    When I open iTunes it will automatically go to full screen mode. I can't work out how to turn this off. Only iTunes opens to full screen mode.

    Go to System Preferences (under the Apple logo in the menu bar).  Choose "General".  Click "Always close windows when quitting an application".
    That should fix it.

  • How do I connect to a terminal server with my mac book pro

    How do I connect to a terminal server with my mac book pro

    Use the Remote Desktop icon on the tray and make sure to use the Fully Qualified Domain Name (FQDN) on the 'name of server' field.  If that does not work then use the IP address to connect.

  • Yoga 2 Pro -- how to turn off switching mode notifications -- e.g. "tent mode", "tablet mode", etc?

    Does anyone know how to turn off the notifications that pop up in the upper right corner telling you that you have just changed from one configuration to another -- e.g. changing from tent mode to tablet mode?
    Solved!
    Go to Solution.

    Just disable it -
    Task manager > Startup > Click "Yoga Picks" > Click "disable"
    Next time you start your computer no more annoying pop ups.  If you want to be annoyed again you can always re-enable it.

  • In my ipad mini sound is there but somehow display turned off....please help...how to turn on the display

    In my ipad mini sound is there but somehow display turned off....please help...how to turn on the display

    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Home button not working or unresponsive, fix
    http://appletoolbox.com/2013/04/home-button-not-working-or-unresponsive-fix/
    Fixing an iPad Home Button
    http://tinyurl.com/om6rd6u
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • I simply want to know how to turn off iCloud* without losing my contacts

    Call me old fashioned, but I really do NOT want to use iCloud EXCEPT for ONE THING*: and that's to find my phone, ipad or laptop if it goes missing.
    Having said that, I have figured out how to turn off icloud on my ipad and my iphone (I am not using the phone as a phone, just as a glorified ipod) while keeping the "find my ipad/iphone" function active, BUT
    I can't quite figure out how to do it on my laptop.
    I seem to have done it already for photos, and for the calendar, (I know this from checking iCloud to see what it's got) but just cannot figure out how to turn it off for contacts.
    And YES, I've backed up all of those things at LEAST 3 different ways, I just don't want the Cloud to be one of them.
    So can anyone tell me how to turn off contacts in the cloud without it also magically deleting them in my laptop? (I had it happen on the ipad, that's why I'm worried.)
    Thank you for understanding-I'm older and this stuff just keeps getting more complicated and I'm a simple person. I'll back up my own stuff!

    If you are refering to documents such as Pages and Numbers files....
    The only way around this is to "save as" you icloud documents using the associated app to a local folder on your mac.  Then turn off icloud.
    Of course, when you sign off of icloud, the docs are removed from the mac, but remain in icloud.  In the future when you sign back in, the documents are available to you again.
    Oh, and the icloud documents are also stored locally in ...
    ~/Library/Mobile Documents
    Note that Library in the user's home folder is now hidden, so you'll have to set Finder to view hidden files.
    The Mobile Documents folder has subfolder where copies of the doc/data files are stored.
    You can move these files to another folder to save them.

  • HOW TO TURN ON DEBUG OPTION OF APXIIMPT

    제품 : FIN_AP
    작성날짜 : 2003-05-13
    HOW TO TURN ON DEBUG OPTION OF APXIIMPT
    =======================================
    PURPOSE
    PAYABLES OPEN INTERFACE IMPORT PROGRAM (APXIIMPT) 수행시 erorr 가 발생하였을 경우 debug mode로 log를 생성하게 하여 문제해결에 도움을 준다.
    Explanation
    1. Loggon to Applications with System Administrator Responsibility.
    2. Go to 'Concurrent -> Program -> Define'
    3. Query 'APXIIMPT' in Short Name field
    4. Click Parameter button
    5. Select 'Trace Switch' Row and then check 'Display' checkbox in the bottom
    6. Select 'Debug Switch' Row and then check 'Display' checkbox in the bottom
    7. Save what you are done
    8. Change Responsibility to 'Payables User'.
    9. Run the open interface program with parameter 'Trace Switch' to 'Yes' and 'Debug Switch' to 'Yes'
    Example
    N/A
    Reference Documents
    NOTE 107617.1

    Open this file: C:\Program Files\Cisco\Desktop\config\Agent.cfg
    Then change this line: Threshold=DEBUG (or TRACE).
    Empty this folder's contents to give you a clean slate: C:\Program Files\Cisco\Desktop\log
    Restart CAD and reproduce the issue.
    [...] Agent himself can turn-on debug to gather debug logs ??
    As long as the agent has write access to those directories it is possible to self-enable/disable trace logging.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • I'm using same icloud and same apple ID on two iphones. Now i get calls from same number on both iphones at the same time. How to turn off that?

    I'm using same icloud and same apple ID on two iphones. Now i get calls from same number on both iphones at the same time. How to turn off that?

    Apple ID's are not device specific, so when you changed it on the iPad 2 it changed it on the iPhone 4 as well, since it's the same account still. What you need to do is create a second Apple ID (so you'll have two accounts, one for iPhone 4 and a seperate one for iPad 2).
    To create a new Apple ID on your iPad 2:
    1) Go into Settings > Store.
    2) If you are already signed in, tap your Apple ID on the screen and you will be given a few options, one of which is to sign out of your account.
    3) After you sign out, now click the "Sign in" button.
    4) Tap "Create New Apple ID" and follow the instructions on-screen.

Maybe you are looking for