#!/bin/sh
udevadm info --export-db >before
echo Insert/plug in your devices now and press any key.
read -n 1 -s
udevadm info --export-db >after
diff before after >email-attachment.txt
rm before after
exo-open --launch MailReader mailto:jannis@xfce.org?attach=email-attachment.txt &

