Org mode features, including working with source code facilities can be invoked from the command line. This enables building shell scripts for batch processing, running automated system tasks, and expanding Org mode’s usefulness.
The sample script shows batch processing of multiple files using
# Tangle files with Org mode
emacs -Q --batch --eval "
(dolist (file command-line-args-left)
(with-current-buffer (find-file-noselect file)