LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Need help burning/erasing DVDs from command line (https://www.linuxquestions.org/questions/linux-software-2/need-help-burning-erasing-dvds-from-command-line-50291/)

enygma 03-17-2003 12:41 PM

Need help burning/erasing DVDs from command line
 
I am trying to make a script that will automatically backup my home directory onto DVD. The only thing I have left to try and figure out is how to erase DVD+RW disks from the command line and then burn the ISO onto them. I tried:

$ cdrecord blank=all dev=0,0,0 speed=1

It started working, the drive got ready to start erasing, but in the end, all I got was:

cdrecord: Cannot blank disk, aborting.

I don't know if it is the setup I am using or if cdrecord just doesn't do DVDs, but I want to try and get my backup script done. Any help on a command line option to burn and erase DVD+RW's would be greatly appreciated.

Thanks.

fancypiper 03-17-2003 01:18 PM

What happens with this command (you may need to change the speed)?

cdrecord -v dev=0,0,0 speed=8 blank=fast

enygma 03-17-2003 01:24 PM

cdrecord: Cannot blank disk, aborting.
cdrecord: Some drives do not support all blank types.
cdrecord: Try again with cdrecord blank=all.


All times are GMT -5. The time now is 11:34 AM.