From 14c65badb7e62aee5fd98df726e8f864d521c3fc Mon Sep 17 00:00:00 2001 From: Michael <30936296+mtan93@users.noreply.github.com> Date: Fri, 24 Sep 2021 13:20:21 +0100 Subject: [PATCH] Moved to troubleshooting --- fix-indexing.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 fix-indexing.sh diff --git a/fix-indexing.sh b/fix-indexing.sh deleted file mode 100644 index 4f76da5..0000000 --- a/fix-indexing.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -# This script is designed to fix Spotlight indexing issues -# by removing the existing Spotlight index and forcing Spotlight -# to create a new search index. - -echo Turning Spotlight indexing off - -/usr/bin/mdutil -i off / - -echo Deleting the Spotlight folder on the root level of the boot volume - -/bin/rm -rf /.Spotlight* - -echo Turning Spotlight indexing on - -/usr/bin/mdutil -i on / - -echo Forcing Spotlight re-indexing on the boot volume - -/usr/bin/mdutil -E / \ No newline at end of file