Tuesday, January 6, 2009
Script to convert .wav to .mp3
Posted on 10:03 AM by Unknown
Put all your .wav files (that you want to convert) into a folder and execute the following script from within this folder, make sure to make this script executable (chmod 777 wav2mp3.sh)#!/bin/sh# name of this script: wav2mp3.sh# wav to mp3for i in *.wav; do if [ -e "$i" ]; then file=`basename "$i" .wav` lame -h -b 192 "$i" "$file.mp3" fidoneDependenciesfaad2 and lame
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment