#!/bin/bash cd ../raw/posts for file in *.textile do pandoc -r textile -w markdown_github -o "$file".md $file done