Hi,<br>
<br>
This baffles me, but should be very simple.<br>
<br>
I have a directory with names of audio files. I want to convert
from one audio format to another. No problem there. <br>
<br>
I want to create a script to do handle the change of file extension chores. I came up with this:<br>
<br>
#!/bin/bash<br>
FILES=$(ls *.flac | cut -f1 -d\.)<br>
for i in $FILES; do<br>
echo converting: $i<br>
<br>
flac -sd $i.flac -o wav/$i.wav<br>
done<br>
<br>
<br>