ICal2Rem

From 43FoldersWiki

Revision as of 15:23, 23 March 2007 by Jalcorn (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Contents

[edit] Ical2Rem

A script to convert from the iCal / ICS format the format used by Remind. It converts the calendar entries as well as the To Do items. It uses the Due Date as the Remind date, or the current date if there's no Due date.

A Subversion repository will be available soon for "official" versions. Version 0.5.1, as of 2007-03-23, is available at the author's site.

Example uses:

cat /path/to/my/other_file.ics | ical2rem.pl >~/.ical2rem

Or process a remote file, such as one from Google calendar:

wget -q -O- http://path.com/to/my/google.ics | ical2rem.pl --label "Gcal" >~/.ical2rem

You may wish to make a cron entry to automate this:

0-59/15 * * * *  cat /path/to/my/other_file.ics | ical2rem.pl >~/.ical2rem
In the ~/.reminders file, include the new file:
INCLUDE ./.ical2rem

[edit] Installation

Download the script from The Author's Site which should be placed in a "bin" directory in your executable path. /usr/local/bin/ or ~/bin are good candidates. You may need to install some Perl modules first. Try cpan -i iCal::Parser DateTime as root. If that doesn't work, consult general documentation for installing Perl modules.

For installation on OS X, see iCal2Remind OSX HOWTO. It refers to the original version of ical2rem. It also includes some additional tips on installing the Perl modules.

[edit] License

The code for ical2rem.pl has now been released under the GPL.

[edit] Author

The code was originally created by Justin B. Alcorn, inspired by a message thread on the 43Folders board discussing conversion scripts written in Applescript. Please consider leaving a comment for the author

[edit] Code

The code is in active maintenance. Get it from The Author's Site

Personal tools