New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #84: Update softwareupdate verbose flag #90
Conversation
For OSX Mojave: $ sudo softwareupdate -iva Password: softwareupdate: invalid option -- v usage: softwareupdate <cmd> [<args> ...] ** Manage Updates: -l | --list List all appropriate update labels (options: --no-scan, --product-types) -d | --download Download Only -e | --cancel-download Cancel a download -i | --install Install <label> ... specific updates -a | --all All appropriate updates -R | --restart Automatically restart (or shut down) if required to complete installation. -r | --recommended Only recommended updates --background Trigger a background scan and update operation --ignore <label> ... Ignore specific updates --reset-ignored Clear all ignored updates ** Other Tools: --dump-state Log the internal state of the SU daemon to /var/log/install.log --evaluate-products Evaluate a list of product keys specified by the --products option --history Show the install history. By default, only displays updates installed by softwareupdate. --all Include all processes in history (including App installs) ** Options: --no-scan Do not scan when listing or installing updates (use available updates previously scanned) --product-types <type> Limit a scan to a particular product type only - ignoring all others Ex: --product-types macOS || --product-types macOS,Safari --products A comma-separated (no spaces) list of product keys to operate on. --force Force an operation to complete. Use with --background to trigger a background scan regardless of "Automatically check" pref --verbose Enable verbose output --help Print this help
This is valid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
osxprep.sh
Outdated
@@ -10,11 +10,11 @@ while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & | |||
echo "------------------------------" | |||
echo "Updating OSX. If this requires a restart, run the script again." | |||
# Install all available updates | |||
sudo softwareupdate -iva | |||
sudo softwareupdate -ia |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sudo softwareupdate -ia | |
sudo softwareupdate -ia --verbose |
osxprep.sh
Outdated
@@ -10,11 +10,11 @@ while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & | |||
echo "------------------------------" | |||
echo "Updating OSX. If this requires a restart, run the script again." | |||
# Install all available updates | |||
sudo softwareupdate -iva | |||
sudo softwareupdate -ia | |||
# Install only recommended available updates | |||
#sudo softwareupdate -irv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#sudo softwareupdate -irv | |
#sudo softwareupdate -ir --verbose |
@kirk-clover appreciate the suggested changes, unfortunately the UI isn't allowing me to apply them. I'll apply manually. |
@allanice001 @kirk-clover @RupGautam thank you! |
…donnemartin-master * 'master' of git://github.com/donnemartin/dev-setup: Fix grammar in .dots script (donnemartin#87) Fix donnemartin#84: Update softwareupdate verbose flag (donnemartin#90) Update list of Quick Look plugins (donnemartin#77) Install Heroku CLI from heroku/brew/heroku (donnemartin#93) Replace betterzipql with betterzip (donnemartin#92) Remove redundant cask install from android.sh (donnemartin#75) Remove redundant cask install from brew.sh (donnemartin#74) Set blazingly fast keyboard repeat rate (donnemartin#76)
* donnemartin-master: Fix grammar in .dots script (donnemartin#87) Fix donnemartin#84: Update softwareupdate verbose flag (donnemartin#90) Update list of Quick Look plugins (donnemartin#77) Install Heroku CLI from heroku/brew/heroku (donnemartin#93) Replace betterzipql with betterzip (donnemartin#92) Remove redundant cask install from android.sh (donnemartin#75) Remove redundant cask install from brew.sh (donnemartin#74) Set blazingly fast keyboard repeat rate (donnemartin#76)
* 'master' of https://github.com/donnemartin/dev-setup: Fix grammar in .dots script (donnemartin#87) Fix donnemartin#84: Update softwareupdate verbose flag (donnemartin#90) Update list of Quick Look plugins (donnemartin#77) Install Heroku CLI from heroku/brew/heroku (donnemartin#93) Replace betterzipql with betterzip (donnemartin#92) Remove redundant cask install from android.sh (donnemartin#75) Remove redundant cask install from brew.sh (donnemartin#74) Set blazingly fast keyboard repeat rate (donnemartin#76)
* https://github.com/donnemartin/dev-setup: Remove deprecated brew commands (donnemartin#98) Fix grammar in .dots script (donnemartin#87) Fix donnemartin#84: Update softwareupdate verbose flag (donnemartin#90) Update list of Quick Look plugins (donnemartin#77) Install Heroku CLI from heroku/brew/heroku (donnemartin#93) Replace betterzipql with betterzip (donnemartin#92)
For OSX Mojave:
$ sudo softwareupdate -iva
Password:
softwareupdate: invalid option -- v
usage: softwareupdate [ ...]
** Manage Updates:
-l | --list List all appropriate update labels (options: --no-scan, --product-types)
-d | --download Download Only
-e | --cancel-download Cancel a download
-i | --install Install
... specific updates
-a | --all All appropriate updates
-R | --restart Automatically restart (or shut down) if required to complete installation.
-r | --recommended Only recommended updates
--background Trigger a background scan and update operation
--ignore ... Ignore specific updates
--reset-ignored Clear all ignored updates
** Other Tools:
--dump-state Log the internal state of the SU daemon to /var/log/install.log
--evaluate-products Evaluate a list of product keys specified by the --products option
--history Show the install history. By default, only displays updates installed by softwareupdate.
--all Include all processes in history (including App installs)
** Options:
--no-scan Do not scan when listing or installing updates (use available updates previously scanned)
--product-types Limit a scan to a particular product type only - ignoring all others
Ex: --product-types macOS || --product-types macOS,Safari
--products A comma-separated (no spaces) list of product keys to operate on.
--force Force an operation to complete. Use with --background to trigger a background scan regardless of "Automatically check" pref