mirror of
https://github.com/PurpleComputing/troubleshooting.git
synced 2026-02-03 06:03:23 +00:00
add script
This commit is contained in:
16
fix-outlook-spotlight.sh
Normal file
16
fix-outlook-spotlight.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# This script is designed to fix Spotlight indexing issues for outlook
|
||||
# by restarting Spotlight and pointing it to the Outlook Profiles Folder
|
||||
# to create a new search index.
|
||||
|
||||
echo Turning Spotlight indexing off
|
||||
|
||||
/usr/bin/mdutil -i off /
|
||||
|
||||
echo Turning Spotlight indexing on
|
||||
|
||||
/usr/bin/mdutil -i on /
|
||||
|
||||
echo Forcing Spotlight re-indexing on Outlook profiles folder
|
||||
|
||||
/usr/bin/mdimport ~/Library/Group\ Containers/UBF8T346G9.Office/Outlook/Outlook\ 15\ Profiles/
|
||||
Reference in New Issue
Block a user