shell - How to trigger org-mobile-push from bash? -


on ubuntu 14.04 use m-x org-mobile-push on emacs gui. i'm writting script (bash) , wondering how trigger extended-command org-mobile-push it.

you can run emacs in batch mode easily. you'll apparently need have load .emacs file separately in order suck in org-mode preferences before evaluating code command line.

emacs --batch --load ~/.emacs \       --eval "(progn (require 'org-mobile) (org-mobile-push))" 

Comments