Bill Jonas on Tue, 2 Jan 2001 18:17:55 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] CD Burning using MP3s as source


On Tue, Jan 02, 2001 at 05:59:43PM -0500, Bill Jonas wrote:
> Well, you'd just make a couple of modifications like so:

Oops, with what I posted you still have the problem of having it do all of
the files in a directory.  Try this small change:

#!/bin/bash
CDRFILES=''

for I in $@
do
  mpg123 -s "$I" > "$I.cdr"
  CDRFILES="$CDRFILES $I.cdr"
done

<CD-burning tool> <cmd-line options> $CDRFILES && rm $CDRFILES
#(End of script)

Then you would just run it, giving as arguments to the script the files
you want to record in the order in which you'd like to have them recorded
on the CD.

-- 
Bill Jonas                | "In contrast to the What You See Is What You
bill@billjonas.com        |  Get (WYSIWYG) philosophy, UNIX is the You
http://www.billjonas.com/ |  Asked For It, You Got It operating system."
This space for rent       |  --Scott Lee, as quoted by Lamb and Robbins


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug