OS X maintenance script

Published 31.12.2013

Last updated 07.05.2017

A few days ago I was in need of simple maintenance script for OS X computers. Something that would do basic maintenance tasks like installing all available updates, checking for disk integrity etc. As a programmer you should be lazy. This means to write your own tools.

I wrote a small script that does the following in a very simple manner: