eps=`ls | grep eps` cp $e pdfs cd pdfs ps2pdf $e rm $e cd .. done