How to fix spotlight search on a macOS

Important: We have a current backup of your Mac.

Open Terminal:

Now type in the following commands into Terminal, in the exact order they are shown:

sudo mdutil -i off /
sudo mdutil -i on /
sudo mdutil -E /

The first command turns spotlight off
The second command turns spotlight back on
The final command restarts the spotlight index.
If, after a few minutes, spotlight is still not indexing, try running this command, followed by the three commands above:

sudo rm -rf /.Spotlight-V100

How to use Time Machine to back up your Mac to a Windows shared folder – macOS

The issue that makes Time Machine more difficult in terms of options for backup locations is that it requires use of Apple’s proprietary HFS+ filesystem. Although I’m certain the HFS+ features that Time Machine uses for file versioning and linking could be “mimicked” for use on other more open filesystems, the reality is that Apple chose HFS+ and supports that filesystem exclusively in Time Machine (in fact as of this writing Apple’s new APFS isn’t even supported for Time Machine backups as of yet).

  • Create a Windows share location
  • Make the remote share automatically mount
  • make Time Machine use the remote share and file
  • Check Time Machine

Read moreHow to use Time Machine to back up your Mac to a Windows shared folder – macOS

macOS Software Update via Terminal

To get a list of available software updates, type the following command:

softwareupdate -l

You will see a list of available updates. You can then install all available software updates with the following command:

sudo softwareupdate -iva

The use of sudo is required to get superuser privileges to actually install the updates. You can also install only the recommended updates with:

sudo softwareupdate -irv

Read moremacOS Software Update via Terminal