Since my last laptop with a working CD drive is dying this a simple script which does the following ops once the CD is inserted and auto-mounter:
- finds the mount point
- copies the files
- ejects the CD
<pre lang="bash">cd "$(cat /proc/mounts | grep iso9660 | cut -d' ' -f2 | sed -e 's#\\040# #g')"
&& cp * /media/backup/data/ && cd && eject /dev/sr0