Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jpluimers/a85d6cd4e72856c15296e207ad9f3b75 to your computer and use it in GitHub Desktop.
Save jpluimers/a85d6cd4e72856c15296e207ad9f3b75 to your computer and use it in GitHub Desktop.
Recursively convert WMA files to MP3 using ffmeg on a Mac OS X bash shell
find . -iname "*.wma" -execdir bash -c 'NAME="{}" && ffmpeg -y -i "$NAME" -ab 192k "${NAME/.wma/.mp3}" -map_metadata 0:s:0 && rm "$NAME"' \;
@MikeiLL
Copy link

MikeiLL commented Sep 20, 2018

Thanks for sharing this. I had to brew install ffmpeg first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment