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