Bash: Convert HTML to Markdown Recursively With Pandoc


You can recursively convert all your HTML files to Mardown format in Bash, by using Pandoc.

find . \-name "*.ht*" | while read i; do pandoc -f html -t markdown "$i" -o "${i%.*}.md"; done