Hi ranger_nemo,
Lot of tks for your advice and script which works for me seamlessly.
I only made following minor alternations.
1A)
ISO_File="/home/satimis/To_burn/image_${user}_${now}.iso"
(to save ISO image on /home/satimis/To_burn/
1B)
list="$list $entry"
(allow the entry of directory in the form of "/Photo/=/home/satimis/Photo/"
"/cups/=/home/satimis/cups/"
etc.
corresponding to "cdrecord" syntax and to input "directory name" directly)
1C)
mkisofs -R -o "$ISO_File" -l -graft-points -hide-rr-moved \
/Document/=/home/satimis/Document/ \
/Photo/=/home/satimis/Photo/ \
$list
(These 2 directories are added permanently)
On cearting ISO image following warning appeared;
Code:
.......
./burncd_01: line 16: [: !=: unary operator expected
INFO: UTF-8 character encoding detected by locale settings.
Assuming UTF-8 encoded filenames on source filesystem,
use -input-charset to override.
Using BAD_RAGAZ16653345ILUDYKV000.JPG;1 for /home/satimis/Photo/Chur-Swiss/Bad_Ragaz16653345IlUDykVODb_ph.jpg (Bad Ragaz16653345IlUDykVODb_ph.jpg)
....
I don't understand what it is. However ISO image was created disregarding this warning.
Following command
xterm -hold -T "cdmaker by satimis" -e /path/to/cdmake
(also worked. An executable ICON has been created working without problem)
The remaining problems are;
2A)
"cdrecord" only works as "root" I have to login as "root" to execute the ICON
Would it be possible to adjust the "script" to popup "requesting root password" to proceed while working as USER
2B)
Is it possible to delete the ISO image automatically after burning completed. If possible kindly advise how to adjust the script
TIA
B.R.
satimis