|07-18-2005, 04:01 AM||#1|
Join Date: Jan 2002
Location: Edinburgh, Scotland
running .mac sync from the command line?
Picture the scene:
* I'm at work
* I have my work machine set to sync on the hour
* my home machine (with a bunch of "to review" URLs in my Safari bookmarks) is on manual sync
* I forgot to sync it with .Mac this morning
* I'm now logged into my home machine via SSH
Does *anyone* know how to trigger the .Mac sync process remotely (note, this is _not_ the same as triggering iSync in these post-Panther days) so that I can get at my bookmarks?
Cheers in advance!
It's all relative, you know
|08-28-2008, 01:37 PM||#2|
Join Date: Jan 2003
I know this is an ancient query, but I just needed to do this and the following applescript works. I wrapped it in a shell script to make it easier to run remotely:
#!/bin/sh cat <<EOF | osascript tell application "System Preferences" activate set current pane to pane "MobileMe" tell application "System Events" tell process "System Preferences" click radio button "Sync" of tab group 1 of window "MobileMe" click button "Sync Now" of tab group 1 of window "MobileMe" end tell end tell quit end tell EOF
|Display Modes||Rate This Thread|