From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Creating iCal from org files without Emacs Date: Tue, 16 Jun 2009 15:19:07 +0200 Message-ID: <87iqiw5nas.fsf@bzg.ath.cx> References: <4a1567f9.1438560a.4b30.0754@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGYZK-00022I-Py for emacs-orgmode@gnu.org; Tue, 16 Jun 2009 09:19:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGYZG-0001zE-5I for emacs-orgmode@gnu.org; Tue, 16 Jun 2009 09:19:18 -0400 Received: from [199.232.76.173] (port=54583 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGYZF-0001zB-Sq for emacs-orgmode@gnu.org; Tue, 16 Jun 2009 09:19:13 -0400 Received: from mail-fx0-f216.google.com ([209.85.220.216]:54412) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGYZF-0002Ba-Iz for emacs-orgmode@gnu.org; Tue, 16 Jun 2009 09:19:13 -0400 Received: by fxm12 with SMTP id 12so2586714fxm.42 for ; Tue, 16 Jun 2009 06:19:12 -0700 (PDT) In-Reply-To: <4a1567f9.1438560a.4b30.0754@mx.google.com> (Richard Riley's message of "Thu, 21 May 2009 16:40:56 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Richard Riley Cc: Emacs-orgmode mailing list (Looks like this didn't get an answer yet.) Richard Riley 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