bash 批次轉 .jpg 檔案為 .pdf

1
for i in ls *.jpg; do convert -verbose "$i" ${i%\.*}.pdf; done