I have a org-mode file (test.org) as below:
#+NAME: my-tangle-to-file #+BEGIN_SRC sh :tangle my_tangle_file.sh :dir /tmp :shebang "#!/usr/bin/env bash" me=$(basename $(test -L "$0" && readlink "$0" || echo "$0")) echo "I was tangled to a file (${me})" #+END_SRC How could I tangle/evaluate the source block my-tangle-to-file in batch mode?