I use the following loop to do .flac --> .mp3 transcoding:
for file in *.flac; do $(flac -cd "$file" | lame --preset fast extreme - "${file%.flac}.mp3"); done
The directory, of course, must contain .flac files for this to work. What I'd like to be taught is the syntax in order to make this command work recursively. The aim is to cd to the directory containing all the subdirectories of .flac files and have the command loop through them all.
Thanks a lot in advance.