I want to run the org-mode command via bash script. For instance, I have several org mode files to export to html under a project I defined. Then I sync files to web server etc. For this reason, without opening the emacs and exporting the files to html files, I would like to do it from bash script.
How can I run org-mode commands like
M-x org-publish-project
Then enter the project name let us say, trial_project. How can I do it within shell script?