diff options
Diffstat (limited to 'cli/eps2pdf.sh')
-rwxr-xr-x | cli/eps2pdf.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/eps2pdf.sh b/cli/eps2pdf.sh new file mode 100755 index 0000000..b803732 --- /dev/null +++ b/cli/eps2pdf.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +# convert from eps to pdf using gs + +GS="`which gs`" +BASENAME="`basename $1 .eps`" +${GS} -sDEVICE=pdfwrite -dNOPAUSE -dQUIET -sOutputFile=${BASENAME}.pdf - < $1 + |