#! /bin/bash tag="$1" find *${tag}*.eps | awk 'BEGIN { FS="." } {print $1 }' | xargs -I {} convert -background white -flatten {}.eps {}.png