#!/bin/sh for t in $1* do if [ -e $t ] then for s in $t/Post/*.eps do if [ -e $s ] then echo $s; epstopdf $s; fi done fi done