Skip to content

Instantly share code, notes, and snippets.

@tonussi
Created September 2, 2013 06:10
Show Gist options
  • Save tonussi/6409675 to your computer and use it in GitHub Desktop.
Save tonussi/6409675 to your computer and use it in GitHub Desktop.
Pandoc recursively html 2 markdown
#!/bin/bash
cd /home/tonussi/Git/test
for file in `dir -d *.html` ; do
pandoc -s -r html "$file" -o $file.markdown
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment