LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   scripting or programming question - running a program (https://www.linuxquestions.org/questions/linux-newbie-8/scripting-or-programming-question-running-a-program-89554/)

ewto 09-05-2003 08:59 AM

scripting or programming question - running a program
 
I need to create a program or script that will allow me to call up another program and have it burn a CD automatically.

What I'm trying to create is a program that I can use to copy the contents of a compact flash card off of the flash card, burn a copy to hda, then also burn a copy of the contents to a CD, then wipe the flash card. (All automatically without any user intervention once the CD is in the drive and the program is run.) I know I can accomplish everything but the CD burning with a very simple shell script ... but how to accomplish the CD burning part?

I'm not asking for someone to hold my hand here ... just point me in the direction of the programming tool to use and I will dig in and start reading the man pages...

oh, and if someone can recommend a good cd burning tool that takes command line instructions well, let me know that, too.

Thanks!

ewto

ranger_nemo 09-05-2003 09:09 AM

Take a look at...

http://simplylinux.punted.net/cdcopy.txt

...especially the lines containing "cdrecord".

Side-Note -- He gave me credit for adding a couple lines to add OGG Vorbis support.

ewto 09-05-2003 11:46 AM

Thanks!
 
Exaclty what I was looking for! I'm such a clueless newbie that I didn't even know the cdrecord utility was already there and waiting to be used! Musta glossed over that section of my book.

Thanks again ... Time for me to hit the man pages! :study:

ewto
Registered Linux User # 326449


All times are GMT -5. The time now is 06:24 AM.