Skip to content

Instantly share code, notes, and snippets.

@uchilaka
Last active February 15, 2019 17:15
Show Gist options
  • Save uchilaka/242b3363da52813bbc633b027b1e96e0 to your computer and use it in GitHub Desktop.
Save uchilaka/242b3363da52813bbc633b027b1e96e0 to your computer and use it in GitHub Desktop.
Manage Mac OSX Upgrade Notifications

Mac OSX Update Notifications

Credit where credit is due:

Reset ignored notifications

/usr/sbin/softwareupdate --reset-ignored

Backup current configurations

# replace ~/Documents/OS\ Update\ Notifications with a backup path of your choice
#
mkdir -p ~/Documents/OS\ Update\ Notifications &&\
export OS_UPDATE_BACKUP_PATH=~/Documents/OS\ Update\ Notifications &&\
mv /Library/Bundles/OSXNotification.bundle ${OS_UPDATE_BACKUP_PATH}/

Turn Off Notifications

#!/bin/bash
/usr/sbin/softwareupdate --ignore macOSInstallerNotification_GM

Restore

  • Browse the the /Library/Bundles/ directory
  • Restore the OSXNotification.bundle file
#!/bin/bash
# replace with your backup path from above
#
mv ${OS_UPDATE_BACKUP_PATH}/OSXNotification.bundle /Library/Bundles/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment