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.


  • ln -s `which epstopdf` ~/bin/eps2pdf, or even alias eps2pdf=epstopdf would work...
    Or 'for file in *.eps; do epstopdf $file; done'?

    Why this function?

    Alles goed verder? Met de knie?
    Grt Tijs

    By Blogger Tijs, at 02 December, 2009 12:29  

Post a Comment

Links to this post:

Create a Link

<< Home