softwareupdate
Check for new and updated versions of your software based on information
about your computer and current software.
SYNTAX
softwareupdate command [args ...]
OPTIONS
-l | --list
List all available updates.
-i | --install
Each update specified by args is downloaded, unarchived, and
installed. This command requires root. args can be one of
the following:
item ... One or more update names.
-a | --all All available active updates.
-r | --req All required active updates.
--ignored Manages the per-user list of ignored updates. args should
have one of the following sub-command formats:
none List the current ignored package names.
add name ...
Ignore the specified package names.
remove name ...
Don't ignore the specified package names.
remove -a | --all
Clears the list of all ignored updates.
--schedule Manages the per-user scheduler preferences. args should be
one of the following words:
on | off Enable or disable automatic checking.
-h | --help
Print command usage.
EXAMPLES
The following examples are shown as given to the shell:
softwareupdate --list
! iPhoto-2.0
iPhoto, 2.0, 34100K [required]
! iSync-1.0
iSync, 1.0, 4840K [required]
! StuffItExpander7-7.0
StuffIt Expander Security Update, 7.0, 4420K [required]
softwareupdate --install iCal-1.0.2
Software Update Tool
Copyright 2002-2003 Apple Computer, Inc.
Installing iCal:
0...10...20...30...40...50...60...70...80...90...100 Done.
softwareupdate --ignored remove iMovie iPhoto
Current ignored updates: (iPod, SafariUpdate)
softwareupdate --schedule
Automatic check is on
Files:
/usr/sbin/softwareupdate
Related commands:
install - Copy files and set attributes