Skip to content

Instantly share code, notes, and snippets.

@Kerrick
Created November 23, 2017 03:48
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Kerrick/7d1a327838539d8a75784c47f2115566 to your computer and use it in GitHub Desktop.
Save Kerrick/7d1a327838539d8a75784c47f2115566 to your computer and use it in GitHub Desktop.
macOS use FFMPEG to convert MP3 files into M4R iPhone Tones
# brew install ffmpeg --with-fdk-aac
find . -iname "*.mp3" | while read f
do
ffmpeg -i "$f" -acodec libfdk_aac -f ipod "${f:r}".m4r
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment