images to pdf imagemagick code example Example: convert jpg to pdf imagemagick find /path/to/files -iname '*.jpg' -exec mogrify -format pdf {} +