emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Creating iCal from org files without Emacs


From: Bastien
Subject: Re: [Orgmode] Creating iCal from org files without Emacs
Date: Tue, 16 Jun 2009 15:19:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux)

(Looks like this didn't get an answer yet.)

Richard Riley <address@hidden> writes:

> I was wondering if possibly anyone has created a bash
> script/python/anything to produce an iCal export from a bunch of
> org-files? 

I've cron'ed this script:

,----
| #!/bin/bash
| 
| /usr/local/bin/emacs --batch --eval \
| "(progn (load-file \"~/install/git/org-mode/org.el\") \
|         (load-file \"~/elisp/config/org-batch-config.el\") \
|         (setq org-combined-agenda-icalendar-file \"~/org/cal/org.ics\")
|         (setq org-agenda-files (quote (\"~/org/bzg.org\"))))" \
|     -f org-export-icalendar-combine-agenda-files
`----

Customize it to your needs.

Then cron another script which upload the resulting org.ics file onto a
webpage that my Google Calendar fetches.

HTH,

-- 
 Bastien




reply via email to

[Prev in Thread] Current Thread [Next in Thread]