This BASH script uses the built in function ps2pdf in a for loop to create png files in a directory from multiple postscript files with the extension .eps