Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

@MikeiLL 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
You can’t perform that action at this time.