Stupid me, spent so much time trying to figure out how to do it in AppleScript, totally forgotten that Script Menu.menu does UNIX shell scripts as well ... so here's a script to automate the iCal to iPod calendars syncing.
Anyone wants to supply an AppleScript version? I'd sure like to figure out how it can be done in AppleScript.
Enjoy.
Mac OS X Hints
http://hints.macworld.com/article.php?story=20020921061912420