Thanks to your help, I built the burning script that follows. Please, let me know modifications or things you would add to it. Goal: To create a script to burn a CD or DVD with /backups contents.
By the way, I use \ to continue writing a command on next line (in a script). Is that correct?
Thanks in advance.
Code:
#! /bin/sh
echo PREPARE FOR THE BURN
echo
sleep 3
mkisofs -o /home/lacalga/iso_images/databurn.iso -graft-points -rational-rock -full-iso9660-filenames -iso-level 2 -r -J /backups
echo
echo START THE BURN
sleep 3
sudo /usr/bin/cdrecord -v speed=2 dev=1,0,0 /home/user/iso_images/databurn.iso
sleep 3
echo
echo DONE.
sleep 3
Glore2002.-