Bill Jonas on Tue, 2 Jan 2001 18:07:36 -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 03:44:39PM -0500, Michael Leone wrote:
> Thanks. The problem I see with this approach is that I'd need to copy just
> the MP3s I'd want converted this particular time into a folder; run the
> script; and then remove the MP3s from that folder - to be replaced with a
> different set of MP3s, every time I wanted to make a different audio CD. Not
> that easy to pick and choose, especially when you've already got dozens (or
> more) MP3s in a folder(s).

Well, you'd just make a couple of modifications like so:

#!/bin/bash
CDRFILES=''

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

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

Not a GUI application, but it gets the job done.

-- 
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."
http://www.debian.org/    |  --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