Software Tools

Legacy


Terminal Commands

Re-enable classic startup chime

sudo nvram StartupMute=%01

Changing it to %00 disables the chime

Rebuild Spotlight

sudo mdutil -i off /
sudo rm -rf /.Spotlight-V100
sudo rm -rf /.Spotlight-V200
sudo mdutil -i on /
sudo mdutil -E /

Force the OS to allow a drive to unmount.

sudo lsof | grep diskn

Where diskn is the number of the disk for example disk3. Then

sudo kill -9 pid

where pid is the process ID revealed with the first command. You may then attempt unmounting again.

Clean In-place macOS Install

All clean-install commands require High Sierra 10.13.4 or later to be installed already.

High Sierra

sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/startosinstall ‑‑eraseinstall

Mojave

sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/startosinstall ‑‑eraseinstall

Catalina

sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/startosinstall ‑‑eraseinstall

Watchman Monitoring Settings

More commands at https://support.watchmanmonitoring.com/hc/en-us/articles/200033678

Set Time Machine warning to 30 days

sudo defaults write /Library/MonitoringClient/PluginSupport/check_time_machine_settings Days_Until_Warning -int 30

Set Storage Usage warning to 95%

sudo defaults write /Library/MonitoringClient/PluginSupport/check_root_capacity_settings Root_Warn_Level -int 95

Reference Materials

Server Status