- place all JPEG files to be converted into a single directory
convert *.jpg my_pdf_file.pdf
The order of the pages will match the order of the original file-names. Conversion can be slow and resource-intensive if the number of JPEG files is large (ca. 100). The resulting PDF file is typically about the same size as the sum of the original file sizes.