burning MP3 blues

JoeHill joehill-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org
Fri May 14 22:36:03 UTC 2004


On Fri, 14 May 2004 14:34:42 -0400 (EDT)
Chris F.A. Johnson disseminated the following:

>     It's much better to use multiple lines; it's easier to read and to
>     modify.

Will that work as an entry in your .bashrc? 

>     And there's no need for the external commands basename and tr:

I copied and pasted these eons ago from deadman.org, I think. Wouldn't know how 
to write anything like this myself anyhow :-D

> mp3dec() {
>    for i in *.mp3
>    do
>      lame --decode "$i" "${i%.mp3}.wav"
>    done
> }
> 
> mp3ren() {
>    for i in *.mp3
>    do
>       mv "$i" "${i// /_}"
>    done
> }

-- 
JoeHill RLU #282046 /  www.orderinchaos.org
Kernel 2.4.22-21.tmb.1mdk Mandrake Linux release 9.2 (FiveStar) for i586
+++++++++++++++++++++++++++
18:33:50 up 8 days, 5:01, 7 users, load average: 0.15, 0.09, 0.02
+++++++++++++++++++++++++++
"Things fall apart; the centre cannot hold..." -- William Butler Yeats
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list