Created
March 15, 2013 09:43
-
-
Save dombarnes/5168667 to your computer and use it in GitHub Desktop.
Bash alias to switch Software Update Servers
This file contains 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
# Switch to Work SUS | |
alias suwiki="sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL 'http://server.domain.tld:8088/index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog'" | |
alias suapple="sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate CatalogURL" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment