11 lines
238 B
Bash
Executable File
11 lines
238 B
Bash
Executable File
#!/bin/bash
|
|
|
|
FILES=org/*
|
|
|
|
for f in $FILES
|
|
do
|
|
filename="$(basename -- $f .org)"
|
|
echo "publishing org/$filename.org to html/$filename.html"
|
|
pandoc -s --toc -H headers -f org -t html org/$filename.org -o html/$filename.html
|
|
done
|