for i in $(find . -name '*.md'); do pandoc -s -t html "${i}" -o "${i}.html"; done #for i in *.md; do pandoc -s -t html "${i}" -o "${i}.html"; done