Bash
Hosting
Web Development
MythTV
Cron
Email
Firefox
Exch
XUL
Linux
Windows
Wireless
Culture
VOIP
MP3
Telephony
XML
RSS
Games
Networking
DRM
Google
Microsoft
OpenOffice
PHP
Yahoo
Apple
Java
Photography
Hardware
Video
Wordpress
Javascript
Backups
Adobe
Python
wavtomp3
Here’s a quick little bash shell script to get your current working directory full of .wav’s converted to .mp3’s using lame.
#!/bin/bash
for i in *.wav; do
lame -b 256 -q 0 -s 44.1 "$i" "`basename "$i" .wav`".mp3
done
This entry was posted on Sunday, August 26th, 2007 at 6:11 pm.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
for i in *.wav; do
lame -b 256 -q 0 -s 44.1 "$i" "`basename "$i" .wav`".mp3
done