Hi, I don't know if this would help, but I export an Org buffer every time it is saved. On OS X, I have a LaunchAgent that watches the file:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.kenmankoff.org2ical</string> <key>ProgramArguments</key> <array> <string>/Users/mankoff/bin/org2ical.sh</string> </array> <key>WatchPaths</key> <array> <string>/Users/mankoff/Documents/Org/events.org</string> </array> </dict> </plist> And then the shell script that is executed: /Applications/Emacs.app/Contents/MacOS/Emacs --batch --directory=~/Documents/Org --visit=~/Documents/Org/events.org --eval '(progn (setq org-agenda-default-appointment-duration 1) (org-icalendar-export-to-ics))' -k.