[OS X TeX] macps2pdf or else

Juan Manuel Palacios jmpalacios at mac.com
Thu Sep 5 00:04:09 CEST 2002




	Maybe just a single line command will do the trick:

[PowerBook:~] juan% find . -name *.ps -exec ps2pdf \{\} \;

	Or:
[PowerBook:~] juan% find . -name *.ps | xargs ps2pdf

	Both of them will find all the files from this point onwards (.) 
ending with the extension "ps" and execute the utility "ps2pdf". Haven't 
tried it here but as far as I can see there is no reason why that 
shouldn't work. You'll end up with a bunch of pdf files, which is what 
you were looking for, right?

	Regards,...


		Juan.


On Wednesday, September 4, 2002, at 05:36  PM, Wenqing Jiang wrote:

> Hello Experts
>
> This may be a little bit of topic.
> i need to convert my ps files into pdf format.
> macps2pdf runs ok for me in UI mode.
> anyone know how to run it as a command line on OSX terminal
> such that multiple ps files can be converted with a script .
>
> for ps->pdf, any other tools that can be executed as in command line?
>
> Thanks in advance,
>
> Wenqing
>
>
> -----------------------------------------------------
> Mac TeX info, resources, and news can be found at:
> <http://www.esm.psu.edu/mac-tex/>
> -----------------------------------------------------
> List archives can be found at:
> <http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/>
> Threaded list archives can be found at:
> <http://www.masda.vxu.se/~pku/MacOSX_TeX/>
> -----------------------------------------------------
> See message headers for list info.
> -----------------------------------------------------
>


-----------------------------------------------------
Mac TeX info, resources, and news can be found at:
<http://www.esm.psu.edu/mac-tex/>
-----------------------------------------------------
List archives can be found at:
<http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/>
Threaded list archives can be found at:
<http://www.masda.vxu.se/~pku/MacOSX_TeX/>
-----------------------------------------------------
See message headers for list info.
-----------------------------------------------------




More information about the macostex-archives mailing list