emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bastienguerry@googlemail.com>
To: Richard Riley <rileyrgdev@googlemail.com>
Cc: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Creating iCal from org files without Emacs
Date: Tue, 16 Jun 2009 15:19:07 +0200	[thread overview]
Message-ID: <87iqiw5nas.fsf@bzg.ath.cx> (raw)
In-Reply-To: <4a1567f9.1438560a.4b30.0754@mx.google.com> (Richard Riley's message of "Thu, 21 May 2009 16:40:56 +0200")

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

Richard Riley <rileyrgdev@googlemail.com> 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	other threads:[~2009-06-16 13:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-21 14:40 Creating iCal from org files without Emacs Richard Riley
2009-06-16 13:19 ` Bastien [this message]
2009-06-16 13:51   ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iqiw5nas.fsf@bzg.ath.cx \
    --to=bastienguerry@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rileyrgdev@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).