#!/bin/sh

# [[ attachment:1_welcome.jpg | {{attachment:thumb_1_welcome.jpg}} ]]

/bin/ls -1 *.jpg | grep -v "^thumb_" | sort -n | while read IMG; do
	echo "[[ attachment:${IMG} | {{attachment:thumb_${IMG}}} ]]"
done
