Skip to content

Instantly share code, notes, and snippets.

@jpcaparas
Created September 1, 2023 01:29
Show Gist options
  • Select an option

  • Save jpcaparas/0f4d18b1512a11d05364591c7524c896 to your computer and use it in GitHub Desktop.

Select an option

Save jpcaparas/0f4d18b1512a11d05364591c7524c896 to your computer and use it in GitHub Desktop.

Revisions

  1. jpcaparas created this gist Sep 1, 2023.
    5 changes: 5 additions & 0 deletions commands.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    # Disable indexing
    sudo mdutil -a -i off

    # Re-enable indexing
    sudo mdutil -a -i on