Thursday, July 31, 2008

Postscript to PDF conversion

ls *.ps | sed 's/\(.*\).ps/ps2pdf \1.ps \1.pdf/' | bash

because it's impossible to view multiple postscripts in a single window.... how annoying.

Corollary:
ls *.pdf | sed 's/\(.*\).pdf/pdf2jpeg \1.pdf \1.jpg/' | bash

No comments: