#!/bin/sh for i in $(../spngfx -l | cut -d ":" -f2); do ../spngfx -f $1source.png -o $1$i.png -m $i; done