Add Software Update commands
This commit is contained in:
parent
49b8c7a428
commit
98fe4b4439
10
README.md
10
README.md
@ -1021,12 +1021,22 @@ installer -pkg /path/to/installer.pkg -target /
|
|||||||
|
|
||||||
### Software Update
|
### Software Update
|
||||||
|
|
||||||
|
#### Install All Available Software Updates
|
||||||
|
```bash
|
||||||
|
sudo softwareupdate -ia
|
||||||
|
```
|
||||||
|
|
||||||
#### Set Software Update Check Interval
|
#### Set Software Update Check Interval
|
||||||
Set to check daily instead of weekly.
|
Set to check daily instead of weekly.
|
||||||
```bash
|
```bash
|
||||||
defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1
|
defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Show Available Software Updates
|
||||||
|
```bash
|
||||||
|
sudo softwareupdate -l
|
||||||
|
```
|
||||||
|
|
||||||
### Spotlight
|
### Spotlight
|
||||||
|
|
||||||
#### Disable Indexing
|
#### Disable Indexing
|
||||||
|
Loading…
Reference in New Issue
Block a user