My folder contains many files with .ps extensions. How to convert all of these to .pdf at a time using a shell script /command.
Help me.
My folder contains many files with .ps extensions. How to convert all of these to .pdf at a time using a shell script /command.
Help me.
If you have ghostscript installed:
fonts=-I/usr/local/share/ghostscript/fonts
gs $fonts -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=file.pdf file.ps
reads file.ps and writes file.pdf; change those as you need to.
The fonts may be in a different location on your host.