The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-27-2006
jasjot31 jasjot31 is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 9
Converting ps file to pdf

I have a number of post script files (*.ps) which I need to convert into Pdf.

I am using the ps2pdf command for this, but the trouble is that this commands takes only one input at a time. So the command

ps2pdf *.ps doesnt work.

how can I make a script which will take each .ps file from current directory and feed it to ps2pdf command??