I know there is probably a stupidly easy answer to this but my first attempt at a script to make life easier hasn't turned out to be all that easy. Here's what I have so far
for file in $FILES
lame -b 32 -f -m m "$1/$file" "$1/output/$file"
It works, but breaks down badly when there's a space in the filename. I've read through a bunch of bash tutorials and they seem to tell me that with the double quotes it should work, but it doesn't.
Any help would be greatly appreciated