Causes the convert tool to copy other files

Any non-markdown files (except the database) will also be copied to the
directory when doing a convert.
This commit is contained in:
Jonathan Hodgson 2020-12-31 09:57:25 +00:00
parent 69bfb3d395
commit 6641d61b1f

View file

@ -55,6 +55,10 @@ to-html(){
pandoc -f markdown -t html --template "$templateFile" > "$destination/$newFile"
done
rsync -a \
--exclude "*.md" --exclude "*.sqlite3" \
"$dataDir/" "$destination"
rm "$tocFile" "$templateFile"
}