Answer the question
In order to leave comments, you need to log in
How to remove ".wav" from filename in find output. -name "*.wav"?
wrote a small script for batch transcoding files from wav to mp3
#!/bin/bash
for i in $(find . -name "*.wav");
do
file=$i
lame -b 16 $file $file.mp3
done
Answer the question
In order to leave comments, you need to log in
Option 1:
Replace the line
with
AND in the transcoder line do
Option 2:
After the line
do
mv $file.mp3 $(echo "$file.mp3" | sed 's/\.wav//g')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question