I've written a simple script to mount/unmount a certain ISO image.
if /bin/mount|grep $1; then
/usr/bin/sudo /bin/umount $1
#If the ISO image has already been mounted, unmount it.
#If the ISO image has not been mounted, mount it at /media/ISO_Mountpoint
/usr/bin/sudo /bin/mount $1 /media/ISO_MountPoint/
Then I use the script as the default program to open *.ISO files.
However, the script can handle only one ISO image. So here I am, asking how to write a script that can manage mass ISO mounting, just as the following N-S diagram shows.
Moreover, I wonder how can I make a GUI Frontend for the script. I don't want to look at the dreary terminal every time!
I'm longing for your suggestions. Thanks in advance!