I have converted my CD collection to .flac
Now I would like to play my music on my ipod and a DSi, so I need to convert my files to .aac
I have written this script
# title holds name of song
for title in *
ffmpeg -i $title $title.aac
I get the following error
./MusicConvert.sh: line 4: syntax error near unexpected token `ffmpeg'
./MusicConvert.sh: line 4: `ffmpeg -i $title $title.aac'
I think I may also need to find a way to ensure the correct suffux is on the file. I'm afraid if it does work I will end up with file.flac.aac
Any advice is much appreciated.