Multiple JPGs to one single PDF (Linux/Fedora)

Found here: http://blog.hacka.net/#post49

# yum install install ImageMagick pdftk
$ cd jpgdir; for FILE in *.jpg; do convert $FILE -compress JPEG $FILE.pdf; done; pdftk "*.pdf" cat output allPages.pdf

:)