>> and I'll look to see if there is a stdout option for Sox as guess
that is what was needed there too :)
And this appears to work with Sox (with progress shown.)
#!/bin/bash
if [ -d "${1}" ] ; then
cd "${1}" && for f in *.flac; do sox "$f" -b 16 -t wav - -S | lame -b
320 -m j -q 0 - "${f%.flac}.mp3"; done
fi
Now any pointers to getting it so I run a single file, rather than the
full command of:
find -type d -exec ~/bin/flac2mp3sox "{}" \;
Always thought that looked a very messy way to have to do it!
Regards, Dale.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user