Created
February 2, 2020 21:59
-
-
Save guimondmm/b3512517f0a7212e2a02f45ab8d65ba1 to your computer and use it in GitHub Desktop.
Ignore upgrade to macOS 10.15 Catalina + dismiss notification badge and delete already downloaded files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ignore the upgrade and dismiss the notification badge | |
killall "System Preferences" | |
sudo softwareupdate --ignore "macOS Catalina" | |
defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier | |
softwareupdate -l | |
# Check the size of the Updates folder | |
du -sh /Library/Updates/ | |
# To reclaim some of that space, reboot into macOS Recovery (hold ⌘-R at boot) | |
# Open a terminal (Utilities > Terminal), then carefully type in the following command | |
diskutil apfs unlockVolume "Macintosh HD" && rm -Rf /Volumes/Macintosh\ HD/Library/Updates/* && reboot | |
# CAUTION! In macOS Recovery, commands are run as root! | |
# Any typo may result in irreversible data loss! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment