Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm searching for a batch command that will convert a directory of JPGs to many PDF files. In order to convert JPGs to JPGs, i use the following command:

mkdir tmp; find . -name "*.jpg" -exec convert -resize 900x -quality 85% {} tmp/{} \;

Now i want to do the same, more or less but with PDFs. I don't want the result to be a single PDF with many pages.

Any ideas?

share|improve this question

You get a command-line PDF converter, for example PDFCreator is a great open source project at SourceForge.

Your command line will be similar to what you already presented in the question, but instead of calling convert you will call PDFCreator with appropriate command line options.

share|improve this answer
thanks, but i wonder - imagemagick knows how to convert JPGs to PDFs, now i just need that it won't combine them into a single file... – Shai Efrati Apr 2 '14 at 13:21
@ShaiEfrati - my bad, I haven't noticed the tags saying the question is for imagemagick. (I usually skip reading the tags.) – miroxlav Apr 2 '14 at 13:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .