Skip to main content
  1. posts/

Check for OS X Updates Automatically

·154 words·1 min·
Christian Mohn
OS X Apple Automation Impatient Mac OS X
Author
Christian Mohn
IT veteran, podcaster, author, and blogger from Bergen, Norway.

Yeah, I admit it. I want OS X Mavericks, and I want it now.

Unfortunately, it´s not available yet from Software Update. So instead of manually checking every 5 minutes or so, I decided to create a small bash script that does it for me.

It´s very, very simple, but I think it does the job:

First off, pop into Terminal and get root access:

h0bbel::h0bair { ~ }-> sudo su -
Then create a small bash script, I named mine update.sh, that contains the following:

while true
do
softwareupdate -l
sleep 60
done
Change it to be executable by running
chmod +x update.sh
Then run the script, to have softwareupdate run over and over again (60 seconds after it completes) until you break it with ctrl-c

h0bair:~ root# ./update.sh
Software Update Tool
Copyright 2002-2010 Apple

No new software available.
At least I now get warning once it´s available. I can has Mavericks nao?

Related

Applescript, Desktop Wallpaper and Growl. Automagically.
·751 words·4 mins
Christian Mohn
OS X Applescript Automation fun Mac OS X Scripting
Iomega IX2 and Time Machine Support
·199 words·1 min
Christian Mohn
OS X Firmware Hack Iomega IX2 Mac OS X
My Slate Setup
·475 words·3 mins
Christian Mohn
OS X KeyRemap4MacBook. Customization OS X PCKeyboardHack Setup Slate Software Window Manager