find ./content -name '*.md' | xargs -n 1 bash -c 'pandoc -f markdown -t html -o "${1/.md/.htm}" "${1}"' - find ./content -name '*.md' -exec rm {} \;