The script below is triggered every day from my Mac. I use Hazel to move the tar.gz to an external hard disk once it's finished. This happens every day without me noticing.
You should have a similar script.
| # Download Sublime Text 2 from http://www.sublimetext.com/2 | |
| # If you aren't root, sudo su | |
| tar -xvjf Sublime\ Text\ 2*.tar.bz2 | |
| mv Sublime\ Text\ 2/ /opt/sublime-text-2/ | |
| ln -s /opt/sublime-text-2 /usr/local/sublime-text-2 | |
| ln -s /usr/local/sublime-text-2/sublime_text /usr/local/bin/sublime_text | |
| rm Sublime\ Text\ 2*.tar.bz2 | |
| # Sublime Text 2 can now be run as normal user with command "sublime_text" |
The script below is triggered every day from my Mac. I use Hazel to move the tar.gz to an external hard disk once it's finished. This happens every day without me noticing.
You should have a similar script.