#!/bin/bash

ext=$1
for img in *.$ext; do img2pdf "$img" -o "${img%.$ext}.pdf"; done
