Posts Tagged ‘mac’

Change TimeMachine Schedule on OS X Lion

Monday, June 25th, 2012

So for Leopard I used a nifty app called TimeMachineEditor but on Mac OS X Lion it refused to do the job properly. So I decided to cheat the TimeMachine.

Here’s the gist of it:
1. Turn off automatic TM backups
2. Create a script file that manually runs TM backup
3. Put that script on a daily (or weekly) schedule.

(more…)

Take a screenshot over ssh in leopard

Tuesday, June 22nd, 2010

First you need to get PID of the login window:

ps ax | grep [l]oginwindow

this gives you something like
26 ?? Ss 10:23.68 loginwindow.app/Contents/MacOS/loginwindow

where 26 is the PID

then get the actual screenshot:

sudo launchctl bsexec PID screencapture [options]

and voila! in fact you can set up a crontab to take screenshots remotely at specific periods