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