Macos – Batch converting AIFF to WAV

batchmacoswav

I have a few dozen AIF files that I need to convert to WAV. I have converted a few by opening them in Audacity and exporting them to WAV, but this is very slow. I would like to convert them all in batch. Is there a way to do this on OS X?

Best Answer

If you want to go for a shell solution, you can do it with ffmpeg.

  • Option 1: download ffmpeg and extract the executable ffmpeg file. Copy it to a directory that is in your executable path, e.g. /usr/bin.

    sudo cp ~/Downloads/ffmpeg /usr/bin/ffmpeg
    sudo chmod +x /usr/bin/ffmpeg
    
  • Option 2: Use Homebrew and brew install ffmpeg.

Now, in the folder with the AIF files, run this:

for f in *.aiff; do ffmpeg -i "$f" "${f%.aiff}.wav"; done
Related Question