PDA

View Full Version : Burning DVDs (data) from within a script ?



jeepescu
September 25th, 2007, 01:26 AM
Hello all,
Could anyone recommend a tool that would allow me to burn a DVD from within a script ?

Essentially, what I am looking to do is archiving stuff to a folder, and, whenever that folder gets beyond a certain size, back it up to a DVD.

I am confident I can tackle everything except the DVD burning part, which I don't know how.

Any hints ?

Thanks in advance

dwhitney67
September 25th, 2007, 06:43 AM
This link contains information about 'cdrecord (http://www.ibm.com/developerworks/linux/library/l-cdburn.html)' that should help you.

moephan
September 25th, 2007, 06:46 AM
I'm no expert, but maybe you could try shelling out to netscsid? I'm pretty sure it supports writing to DVDs.

HTH

Cheers, Rick

jeepescu
September 27th, 2007, 03:41 AM
Thanks for both replies.
I tried cdrecord, and it works perfectly, doing exctly what I was looking for.
I will try netscsid in a few days.
Once again, thanks for the replies.