I am a total emacs/lisp newbie, just trying to export my todo's to ics. In my init file I have (setq org-calendar-icalendar-todo t), and when I export within emacs with C-c C-e I, then I do get the todos exported in the .ics files.
However I want to do this in a batch file. I have run emacs --batch -eval "(org-export-icalendar-all-agenda-files)", but it doesn't seem to pick up the org-calendar-icalendar-todo variable in the init file or produce the output files.
How can I make this happen on the command line?
setqsexp to your-eval? I.e.,emacs --batch -eval "(progn (setq org-calendar-icalendar-todo t) (org-export-icalendar-all-agenda-files))"(or the other order, if that is appropriate -- I do not use Org). - Drew