<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Batch MP3 Encoding with Linux and LAME</title>
	<atom:link href="http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/feed/" rel="self" type="application/rss+xml" />
	<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/</link>
	<description>For savvy admins everywhere...</description>
	<lastBuildDate>Thu, 17 May 2012 16:06:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: coppeto fabrizio</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-1031</link>
		<dc:creator>coppeto fabrizio</dc:creator>
		<pubDate>Tue, 03 Apr 2012 08:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-1031</guid>
		<description>Devo acquistare delle lame di vostra produzione Tipo T08MF 013273 BATCH 1077693 14X14X2MM. 30 GRADI , DESIDERO RICEVERE UNA OFFERTA PER L&#039;ACQUISTO DI 10 LAME .</description>
		<content:encoded><![CDATA[<p>Devo acquistare delle lame di vostra produzione Tipo T08MF 013273 BATCH 1077693 14X14X2MM. 30 GRADI , DESIDERO RICEVERE UNA OFFERTA PER L&#8217;ACQUISTO DI 10 LAME .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Batch Convert WAV to MP3 With LAME &#124; Candysporks</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-1030</link>
		<dc:creator>Batch Convert WAV to MP3 With LAME &#124; Candysporks</dc:creator>
		<pubDate>Sun, 01 Apr 2012 19:37:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-1030</guid>
		<description>[...] there are a few suggestions (search: &#8220;linux batch convert wav mp3 lame&#8221;) on batch converting wav [...]</description>
		<content:encoded><![CDATA[<p>[...] there are a few suggestions (search: &#8220;linux batch convert wav mp3 lame&#8221;) on batch converting wav [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention Batch MP3 Encoding with Linux and LAME &#124; SavvyAdmin.com -- Topsy.com</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-991</link>
		<dc:creator>Tweets that mention Batch MP3 Encoding with Linux and LAME &#124; SavvyAdmin.com -- Topsy.com</dc:creator>
		<pubDate>Fri, 18 Feb 2011 20:25:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-991</guid>
		<description>[...] This post was mentioned on Twitter by Linux, Reid Ransom. Reid Ransom said: Batch MP3 Encoding with Linux and LAME - http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/ #fb [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Linux, Reid Ransom. Reid Ransom said: Batch MP3 Encoding with Linux and LAME &#8211; <a href="http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/" rel="nofollow">http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/</a> #fb [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-984</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 30 Nov 2010 14:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-984</guid>
		<description>Simplest method I found that also changes extension to mp3:

for i in *.wav; do lame --preset standard &quot;$i&quot; &quot;${i/%wav/mp3}&quot;; done</description>
		<content:encoded><![CDATA[<p>Simplest method I found that also changes extension to mp3:</p>
<p>for i in *.wav; do lame &#8211;preset standard &#8220;$i&#8221; &#8220;${i/%wav/mp3}&#8221;; done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WiseGuy</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-969</link>
		<dc:creator>WiseGuy</dc:creator>
		<pubDate>Tue, 21 Sep 2010 21:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-969</guid>
		<description>This script works best for me:

#!/bin/bash
LAMEOPTS=&quot;-h -V 0&quot; #change your lame settings here

for FILE in *.wav ; do
    OUTNAME=`basename &quot;$FILE&quot; .wav`.mp3
    lame $LAMEOPTS &quot;$FILE&quot; &quot;$OUTNAME&quot;
    rm &quot;$FILE&quot;
done</description>
		<content:encoded><![CDATA[<p>This script works best for me:</p>
<p>#!/bin/bash<br />
LAMEOPTS=&#8221;-h -V 0&#8243; #change your lame settings here</p>
<p>for FILE in *.wav ; do<br />
    OUTNAME=`basename &#8220;$FILE&#8221; .wav`.mp3<br />
    lame $LAMEOPTS &#8220;$FILE&#8221; &#8220;$OUTNAME&#8221;<br />
    rm &#8220;$FILE&#8221;<br />
done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mdwstmusik</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-945</link>
		<dc:creator>mdwstmusik</dc:creator>
		<pubDate>Sat, 10 Jul 2010 02:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-945</guid>
		<description>My solution for the .wav.mp3 problem...

for f in *.wav ; do lame -h $f `echo $f &#124; cut -d. -f1`.mp3 ; done</description>
		<content:encoded><![CDATA[<p>My solution for the .wav.mp3 problem&#8230;</p>
<p>for f in *.wav ; do lame -h $f `echo $f | cut -d. -f1`.mp3 ; done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mlok</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-941</link>
		<dc:creator>mlok</dc:creator>
		<pubDate>Fri, 25 Jun 2010 16:51:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-941</guid>
		<description>Hello, this command that will convert all .wav files in a folder and put the right .mp3 extension instead of .wav or .wav.mp3 :

$ for f in *.wav ; do NEWNAME=`echo &quot;$f&quot; &#124; sed &#039;s/.wav/.mp3/g&#039;` ; lame &quot;$f&quot; &quot;$NEWNAME&quot;; done</description>
		<content:encoded><![CDATA[<p>Hello, this command that will convert all .wav files in a folder and put the right .mp3 extension instead of .wav or .wav.mp3 :</p>
<p>$ for f in *.wav ; do NEWNAME=`echo &#8220;$f&#8221; | sed &#8216;s/.wav/.mp3/g&#8217;` ; lame &#8220;$f&#8221; &#8220;$NEWNAME&#8221;; done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hennie</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-822</link>
		<dc:creator>Hennie</dc:creator>
		<pubDate>Sat, 19 Dec 2009 18:51:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-822</guid>
		<description>Hello,

I think this little piece of script solve&#039;s *.cdda.wav to *.mp3 problem at one&#039;s;

for f in *.wav ; do AUFILE=`echo &quot;$f&quot; &#124; sed &#039;s/.cdda.wav/.mp3/g&#039;` ; lame $f $AUFILE ; done</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I think this little piece of script solve&#8217;s *.cdda.wav to *.mp3 problem at one&#8217;s;</p>
<p>for f in *.wav ; do AUFILE=`echo &#8220;$f&#8221; | sed &#8216;s/.cdda.wav/.mp3/g&#8217;` ; lame $f $AUFILE ; done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liam</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-820</link>
		<dc:creator>Liam</dc:creator>
		<pubDate>Fri, 18 Dec 2009 11:25:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-820</guid>
		<description>Thanks very much! I was looking for a solution to batch converting an album to a new folder.

In the end I used the following two lines:
$ mkdir new
$ for f in *.mp3 ; do lame --preset standard &quot;$f&quot; &quot;new/$f&quot; ; done</description>
		<content:encoded><![CDATA[<p>Thanks very much! I was looking for a solution to batch converting an album to a new folder.</p>
<p>In the end I used the following two lines:<br />
$ mkdir new<br />
$ for f in *.mp3 ; do lame &#8211;preset standard &#8220;$f&#8221; &#8220;new/$f&#8221; ; done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gmendoza</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-495</link>
		<dc:creator>gmendoza</dc:creator>
		<pubDate>Mon, 19 Oct 2009 00:14:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-495</guid>
		<description>Nice tool suggestions.  Thanks!</description>
		<content:encoded><![CDATA[<p>Nice tool suggestions.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vyvyan</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-492</link>
		<dc:creator>Vyvyan</dc:creator>
		<pubDate>Sun, 18 Oct 2009 21:04:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-492</guid>
		<description>Well people are still commenting on this page :)
I was looking for something and stumbled across this page again so I find it worth mentioning that a couple of days after I last commented here I found a WAY BETTER solution for this problem. 

1. Install shntool. It&#039;s a wonderful tool for a lot of things. http://etree.org/shnutils/shntool/

2. export the following:

export ST_CUST_ENC=&#039;ext=mp3 lame -V 0 -q 0 --vbr-new --noreplaygain - %f&#039;

You can put the above line in your .bashrc (remember to source .bashrc to continue using same terminal for current session). Modify lame options as per your needs, look man for more info.

3. run the following command to convert all your wav to mp3

shnconv -o cust *.wav

If you have single wav file an album and a cue file, use:

cuebreakpoints album.cue &#124; shnsplit -o cust album.wav

cuetools is another utility.

You can do all sort of conversion with shntool. I prefer using picard (search musicbrainz picard) for tagging because I am paranoid about keeping my music arranged and well tagged.</description>
		<content:encoded><![CDATA[<p>Well people are still commenting on this page :)<br />
I was looking for something and stumbled across this page again so I find it worth mentioning that a couple of days after I last commented here I found a WAY BETTER solution for this problem. </p>
<p>1. Install shntool. It&#8217;s a wonderful tool for a lot of things. <a href="http://etree.org/shnutils/shntool/" rel="nofollow">http://etree.org/shnutils/shntool/</a></p>
<p>2. export the following:</p>
<p>export ST_CUST_ENC=&#8217;ext=mp3 lame -V 0 -q 0 &#8211;vbr-new &#8211;noreplaygain &#8211; %f&#8217;</p>
<p>You can put the above line in your .bashrc (remember to source .bashrc to continue using same terminal for current session). Modify lame options as per your needs, look man for more info.</p>
<p>3. run the following command to convert all your wav to mp3</p>
<p>shnconv -o cust *.wav</p>
<p>If you have single wav file an album and a cue file, use:</p>
<p>cuebreakpoints album.cue | shnsplit -o cust album.wav</p>
<p>cuetools is another utility.</p>
<p>You can do all sort of conversion with shntool. I prefer using picard (search musicbrainz picard) for tagging because I am paranoid about keeping my music arranged and well tagged.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gmendoza</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-474</link>
		<dc:creator>gmendoza</dc:creator>
		<pubDate>Thu, 15 Oct 2009 01:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-474</guid>
		<description>@skism

By the way, your syntax was messed up by my websites auto-formatting.  So I edited your post so that it shows proper syntax highlighting and fixed the text where my site messed it up.  Thanks again.</description>
		<content:encoded><![CDATA[<p>@skism</p>
<p>By the way, your syntax was messed up by my websites auto-formatting.  So I edited your post so that it shows proper syntax highlighting and fixed the text where my site messed it up.  Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: skizm</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-468</link>
		<dc:creator>skizm</dc:creator>
		<pubDate>Wed, 14 Oct 2009 15:36:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-468</guid>
		<description>@gmendoza: Any time mate. Hope you like it, it&#039;s my first bash script ever. (=</description>
		<content:encoded><![CDATA[<p>@gmendoza: Any time mate. Hope you like it, it&#8217;s my first bash script ever. (=</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gmendoza</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-467</link>
		<dc:creator>gmendoza</dc:creator>
		<pubDate>Wed, 14 Oct 2009 01:22:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-467</guid>
		<description>@skism

Hey, very cool!  Thanks for contributing!  Can&#039;t wait to try it out.</description>
		<content:encoded><![CDATA[<p>@skism</p>
<p>Hey, very cool!  Thanks for contributing!  Can&#8217;t wait to try it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: skizm</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-464</link>
		<dc:creator>skizm</dc:creator>
		<pubDate>Tue, 13 Oct 2009 22:08:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-464</guid>
		<description>Heh, maybe my script was a bit overkill then. I made one for running after a whole cd has been ripped with cdparanoia, and assuming cdparanoia&#039;s default output file names &#039;trackXX.cdda.wav&quot;, &#039;XX&#039; being the tracknumbers.

&lt;pre lang=&quot;bash&quot;&gt;#!/bin/bash

TRK=&quot;track&quot;
SFX=&quot;.cdda.wav&quot;
NUM=&quot;1&quot;

while [ -f &quot;$TRK&quot;`printf &quot;%02d&quot; $NUM`&quot;$SFX&quot; ]
do
echo &quot;Found &quot;$TRK&quot;`printf &quot;%02d&quot; $NUM`&quot;$SFX&quot;, encoding…&quot;
lame -V2 –tn $NUM –id3v2-only &quot;$TRK&quot;`printf &quot;%02d&quot; $NUM`&quot;$SFX&quot; &quot;$TRK&quot;`printf &quot;%02d&quot; $NUM`.mp3
NUM=$[$NUM+1]
done

echo &quot;Finished encoding all files.&quot;
echo &quot;Deleting wav’s…&quot;
rm -rf *.cdda.wav
echo &quot;…done&quot;

exit 0

&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Heh, maybe my script was a bit overkill then. I made one for running after a whole cd has been ripped with cdparanoia, and assuming cdparanoia&#8217;s default output file names &#8216;trackXX.cdda.wav&#8221;, &#8216;XX&#8217; being the tracknumbers.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #007800;">TRK</span>=<span style="color: #ff0000;">&quot;track&quot;</span>
<span style="color: #007800;">SFX</span>=<span style="color: #ff0000;">&quot;.cdda.wav&quot;</span>
<span style="color: #007800;">NUM</span>=<span style="color: #ff0000;">&quot;1&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-f</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$TRK</span>&quot;</span><span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">printf</span> <span style="color: #ff0000;">&quot;%02d&quot;</span> <span style="color: #007800;">$NUM</span><span style="color: #000000; font-weight: bold;">`</span><span style="color: #ff0000;">&quot;<span style="color: #007800;">$SFX</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">do</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Found &quot;</span><span style="color: #007800;">$TRK</span><span style="color: #ff0000;">&quot;<span style="color: #780078;">`printf &quot;%02d&quot; $NUM`</span>&quot;</span><span style="color: #007800;">$SFX</span><span style="color: #ff0000;">&quot;, encoding…&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">lame</span> <span style="color: #660033;">-V2</span> –tn <span style="color: #007800;">$NUM</span> –id3v2-only <span style="color: #ff0000;">&quot;<span style="color: #007800;">$TRK</span>&quot;</span><span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">printf</span> <span style="color: #ff0000;">&quot;%02d&quot;</span> <span style="color: #007800;">$NUM</span><span style="color: #000000; font-weight: bold;">`</span><span style="color: #ff0000;">&quot;<span style="color: #007800;">$SFX</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$TRK</span>&quot;</span><span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">printf</span> <span style="color: #ff0000;">&quot;%02d&quot;</span> <span style="color: #007800;">$NUM</span><span style="color: #000000; font-weight: bold;">`</span>.mp3
<span style="color: #007800;">NUM</span>=$<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #007800;">$NUM</span>+<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Finished encoding all files.&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Deleting wav’s…&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #000000; font-weight: bold;">*</span>.cdda.wav
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;…done&quot;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: kash</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-315</link>
		<dc:creator>kash</dc:creator>
		<pubDate>Tue, 13 Jan 2009 18:04:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-315</guid>
		<description>can any one tell how to convert mp3 to rm?</description>
		<content:encoded><![CDATA[<p>can any one tell how to convert mp3 to rm?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vyvyan</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-218</link>
		<dc:creator>Vyvyan</dc:creator>
		<pubDate>Sun, 31 Aug 2008 16:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-218</guid>
		<description>for file in *.flac; do lame -q 0 -v --vbr-new --noreplaygain --id3v2-only &quot;$file&quot; “${file%.wav}.mp3″; done

In the last command I told I just echoed the filenames. Here is the complete command. :)</description>
		<content:encoded><![CDATA[<p>for file in *.flac; do lame -q 0 -v &#8211;vbr-new &#8211;noreplaygain &#8211;id3v2-only &#8220;$file&#8221; “${file%.wav}.mp3″; done</p>
<p>In the last command I told I just echoed the filenames. Here is the complete command. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vyvyan</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-217</link>
		<dc:creator>Vyvyan</dc:creator>
		<pubDate>Sun, 31 Aug 2008 16:22:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-217</guid>
		<description>So far, I have been following to automatically remove &#039;.wav&#039; from mp3 files.
for file in *.wav; do echo &quot;${file%.wav}.mp3&quot;; done

To remove wav&#039;s later after the conversion is completed without any errors and with satisfaction is a good idea rather than deleting in same long one line command.

rm -rf *.wav

It isn&#039;t much of an effort. :P</description>
		<content:encoded><![CDATA[<p>So far, I have been following to automatically remove &#8216;.wav&#8217; from mp3 files.<br />
for file in *.wav; do echo &#8220;${file%.wav}.mp3&#8243;; done</p>
<p>To remove wav&#8217;s later after the conversion is completed without any errors and with satisfaction is a good idea rather than deleting in same long one line command.</p>
<p>rm -rf *.wav</p>
<p>It isn&#8217;t much of an effort. :P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: midlife_crisis</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-91</link>
		<dc:creator>midlife_crisis</dc:creator>
		<pubDate>Sun, 30 Mar 2008 12:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-91</guid>
		<description>this has inspired me to write this script, it the first time I&#039;ve written a bash script, so I&#039;m sure it could be improved:

#!/bin/bash
TARGET_DIR=&quot;ipod/&quot;
mkdir -p $TARGET_DIR
for f in *.mp3 ; do 
	fn=${f%*.mp3}&quot;_pod.mp3&quot;	
	lame -b 96 &quot;$f&quot; &quot;$fn&quot;	
	mv &quot;$fn&quot; $TARGET_DIR/ 
done

this resamples mp3&#039;s to 96kbps, this is for my ipod shuffle. It renames as _ipod.mp3, creates an ipod folder and moves the resampled file to it.

Cheers</description>
		<content:encoded><![CDATA[<p>this has inspired me to write this script, it the first time I&#8217;ve written a bash script, so I&#8217;m sure it could be improved:</p>
<p>#!/bin/bash<br />
TARGET_DIR=&#8221;ipod/&#8221;<br />
mkdir -p $TARGET_DIR<br />
for f in *.mp3 ; do<br />
	fn=${f%*.mp3}&#8221;_pod.mp3&#8243;<br />
	lame -b 96 &#8220;$f&#8221; &#8220;$fn&#8221;<br />
	mv &#8220;$fn&#8221; $TARGET_DIR/<br />
done</p>
<p>this resamples mp3&#8242;s to 96kbps, this is for my ipod shuffle. It renames as _ipod.mp3, creates an ipod folder and moves the resampled file to it.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gmendoza</title>
		<link>http://savvyadmin.com/batch-mp3-encoding-with-linux-and-lame/comment-page-1/#comment-80</link>
		<dc:creator>gmendoza</dc:creator>
		<pubDate>Thu, 21 Feb 2008 15:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.savvyadmin.com/2007/12/02/batch-mp3-encoding-with-linux-and-lame/#comment-80</guid>
		<description>Hey there, Bill.  Thanks for contributing!  I&#039;m also very happy that this post was useful for you.</description>
		<content:encoded><![CDATA[<p>Hey there, Bill.  Thanks for contributing!  I&#8217;m also very happy that this post was useful for you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

