How to convert multiple .caf audio files to .wav?

Solution 1:

You can use afconvert:

afconvert sound.caf sound.wav

This can be run on an entire folder using find:

find /path/to/folder/ -name "*.caf" -exec afconvert {} {}.wav \;

Solution 2:

You can use ffmpeg (binary or install with Homebrew):

ffmpeg -i sound.caf sound.wav

This can be run on an entire folder using find:

find /path/to/folder/ -name "*.caf" -exec ffmpeg -i {} {}.wav \;