I have a list audio file paths and extensions in a CSV file that looks like this:
Path Extension
~/src/0000 .wav
~/src/0001 .aif
~/src/0002 .wav
I need to run LAME on each file converting it to a standard format. The problem is LAME won't run on a source file without an extension. Is it possible to specify a file extension (as a parameter) without renaming the source file (renaming will be difficult in my case)? My current efforts yield:
> lame ~/src/0000 ~/dst/0000.mp3
Warning: unsupported audio format
file ~/src/0000
?