Script to burn DVD on the fly?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Script to burn DVD on the fly?
# 1  
Old 05-20-2008
Script to burn DVD on the fly?

Hi folks,


One DVD Writer installed on PC


To duplicate Data DVD or DVD Installer I run following steps;


1)
$ dd if=/dev/dvd of=image.iso bs=2048

to create an ISO image


2)
Remove the DVD disc on the tray and insert a blank DVD disc for
burning. Then run;


3)
$ growisofs -dvd-compat -Z /dev/dvd=image.iso

Done



Following command worked for me previously burning CD on the fly;
mkisofs -R -joliet-long -graft-points -hide-rr-moved \
/dir-A/=/path/to/dir-A/ \
/dir-B/=/path/to/dir-B/ \
/dir-C/=/path/to/dir-C/ |\
cdrecord dev=ATA:1,0,0 -v -eject -



Now I'm trying to burn DVD on the fly w/o creating ISO image. I haven't figure out;

- how to modify the command burning CD on the fly for burning DVD

- how to eject the DVD disc automatically after the command at 1) finished.

- how to evoke command at 3) automatically after an blank DVD disc inserted.


Please shed me some light. TIA


B.R.
satimis
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. AIX

Using mkdvd to create bootable mksysb on dvd reports success but nothing on dvd?

Hello, Running AIX 7.1 7100-00-03-1115, trying to make a mksysb image to a dvd drive using mkdvd. My final command looks like this.. mkdvd -e -V rootvg -R -C /usr1/AIXADMIN/mkcd/cd_fs -I /usr1/AIXADMIN/mkcd/cd_images -M /usr1/AIXADMIN/mkcd/mksysbimage -d /dev/cd0 -Y When i run this... (3 Replies)
Discussion started by: c3rb3rus
3 Replies

2. Shell Programming and Scripting

Execute script on the fly

Hi all, I am calling a zsh script from batch file . This zsh just removes the trigger file in a particular directory.File name is passed as a parameter from the batch file Problem is this batch is called in multiple other batch files and sometimes system says file cant be used as it is used... (4 Replies)
Discussion started by: Hypesslearner
4 Replies

3. Shell Programming and Scripting

Shell script to accept user input on the fly

I want a shell script that accepts user input simultaneously when performing other tasks. Example: A shell script should echo some messages on the console and when the user presses some keys it should respond to that action. say, when user presses the key A - more information should be printed... (2 Replies)
Discussion started by: Arun_Linux
2 Replies

4. AIX

How to burn a bootable DVD on aix 5.3?

I have a mksysb backup image need burn to a DVD, then it can be used to restore OS in other machine. How to do this? (5 Replies)
Discussion started by: rainbow_bean
5 Replies

5. Solaris

how to burn a CD/DVD in solaris8 environment

Hi, Boss Now i update my Ultra 10 with a DVD-R/W. but i do not know how to burn a date DVD or a self-Run iso date. any body can give me some advice? like which burner or software can be used in my system?:o BTW,my O/S is Solaris 8 (8 Replies)
Discussion started by: surainbow
8 Replies
Login or Register to Ask a Question
BRASERO(1)						      General Commands Manual							BRASERO(1)

NAME
brasero - Simple and easy to use CD/DVD burning application for the Gnome Desktop SYNOPSIS
brasero [options] [uri] [uri] ... DESCRIPTION
This manual page documents briefly the brasero command. rasero is a disc burning application. It is designed to be simple and easy to use. It allows to create data CD/DVD, audio CD, to copy CD/DVD and to burn images. It has some nices features, such as a song, image and video previewer. It can also search for files (thanks to beagle) and display a playlist and its contents. OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. -p, --project=PROJECT Open the specified project. -a, --audio Open an empty audio project. -d, --data Open an empty data project. -c, --copy=PATH Copy a disc. -j, --cover=PATH Cover to use. -o, --video Open a video project adding the URIs given on the command line. -i, --image=PATH Uri of an image file or a cue file to be burnt (autodetected). -e, --empty Force brasero to display the project selection page. -b, --blank Open the blank disc dialog. -k, --check Open the check disc dialog. -n, --ncb Open a data project with the contents of burn:/// URI. -r, --burn-and-remove-project=PATH Burn the specified project and REMOVE it. -g, --debug Display debug statements on stdout. --display=DISPLAY X display to use. -?, --help Show summary of options. -v, --version Show version of program. AUTHOR
Brasero manual page was written by Philippe Rouquier <philippero@libertysurf.fr> and Luis Medinas <lmedinas@gmail.com>. GNOME
January 11, 2009 BRASERO(1)