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
Archive for August, 2007
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
for i in *.wav; do
lame -b 256 -q 0 -s 44.1 "$i" "`basename "$i" .wav`".mp3
done
Posted by Karl Herrick on August 26th, 2007 in Bash | No Comments »