Hello Everybody
I want a script that copy a dvd to an iso file.
This is what I got.
Code:
eject -t /dev/sr0 &&
sleep 30 &&
blkid -s LABEL -o value /dev/sr0 &&
# copy dvd to a location on my pc
dd if=/dev/sr0 of=/home/gebruiker/Bureaublad/LABEL.iso &&
rename 's/oldname/newname' *.iso $LABEL.iso &&
# eject drive
eject /dev/sr0
The problem is that I can't get automatically the label of the dvd in the name of the iso file.
How can I fix this?
Kind regards
Ruben