-
(Difference between revisions)
Line 4: Line 4: [http://jalcorn.net/public/ical2rem.pl iCal2Rem at jalcorn.net][http://jalcorn.net/public/ical2rem.pl iCal2Rem at jalcorn.net]- Requires Perl modules:+ Requires Developer Tools and Perl modules:<pre>cpan -i iCal::Parser</pre><pre>cpan -i iCal::Parser</pre>Revision as of 23:33, 24 July 2008
Contents
Convert iCal to Remind
Requires Developer Tools and Perl modules:
cpan -i iCal::Parser
Group all calendars you want to sync with Remind in iCal and publish them. Plug the url to the published .ics into the following command:
curl http://homepage.mac.com/username/.calendars/toRemind.ics | ical2rem.pl --label "iCal2Reminder" >~/.ical2rem
Convert Remind to iCal
Turn on Personal Web Sharing in the Sharing pane of System Preferences so that you can get a valid URL to subscribe to. Will look something like
http://your-computer.local/~username/NameOfCalendar.ics
Subscribe to this calendar in iCal. Then run this command in terminal to sync the calendars.
remind -s30 -irem2ics=1 ~/.reminders | TZ=US/Eastern rem2ics -do -norecur >/Users/username/Sites/Reminder2iCal.ics
It's a cheap alternative to Spanning Sync.
Tips
Avoid duplication of events when you sync from iCal to Remind and back again by wrapping your .ical2rem include file with an IF statement in your .reminders file. Your .reminders file would look something like this:
IF defined("rem2ics") include /Users/username/.ical2rem ENDIF include /Users/username/other/remind/include/.file1 include /Users/username/other/remind/include/.file2
Then remove -irem2ics=1 from your command like so:
remind -s30 ~/.reminders | TZ=US/Eastern rem2ics -do -norecur >/Users/username/Sites/Reminder2iCal.ics
Now you can get all of your iCal events into Remind and onto your desktop with an app like Geek Tool using the following commands:
Weekly calendar:
/usr/local/bin/remind -irem2ics=1 -c+ ~/.reminders
Daily list:
/usr/local/bin/remind -irem2ics=1 ~/.reminders
But without all of your iCal events getting synced back into iCal from your .reminders file.
Growl notifications of timed events
Install growlnotify from the Growl site. The forum is a good place to search for help. Wasn't too difficult.
Run this command after you boot your computer or set it as a login item. I haven't figured out how to do that successfully yet.
nohup remind -z -k'/usr/local/bin/growlnotify -n remind -a iCal -t Reminder -s -m %s &' ~/.reminders &
Quicksilver
- Meta