Okke's blog

Thursday, November 26, 2009

epstopdf on linux processes only one file

So I wrote a bash script that takes any number of arguments. Put this in your ~./bashrc file and you can use the eps2pdf command to transform your eps files.
function eps2pdf {
for f in $@;
echo "epstopdf $f";
epstopdf $f;
You can use this like "eps2pdf *.eps" in bash.