#!/bin/bash

cd $1
find *.eps | xargs -I{} ps2pdf -dPDFSETTINGS=/prepress -dEPSCrop {}
rm *.eps
