phil <[EMAIL PROTECTED]> writes:
> QUESTION:
> Is it possibile to upload the .ics file after exporting in one step from
> emacs?
Maybe doing it from Emacs is not as straightforward as doing it with a
simple script.
Here is an example of such a script -- it launches Emacs in batch mode,
takes your-calendar.org, converts it into a .ics file, then upload this
file to a remote host with rsync.
========================================================================
#!/bin/bash
/usr/local/bin/emacs --batch --eval \
"(progn (load-file \"~/elisp/org/org.el\") \
(load-file \"~/elisp/org/org-install.el\") \
(load-file \"~/elisp/org-batch-config.el\") \
(setq org-icalendar-combined-name \"Your Calendar\") \
(setq org-combined-agenda-icalendar-file
\"~/org/cal/your-calendar.ics\") \
(setq org-agenda-files (quote (\"~/org/cal/your-calendar.org\"))))" \
-f org-export-icalendar-combine-agenda-files
/usr/bin/rsync -rtv ~/org/cal/your-calendar.ics -e ssh [EMAIL
PROTECTED]:/home/login/cal/
========================================================================
Regards,
--
Bastien
_______________________________________________
Emacs-orgmode mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode