Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save renamedquery/59eb794604ae5e5650c5654dcedf0435 to your computer and use it in GitHub Desktop.
Save renamedquery/59eb794604ae5e5650c5654dcedf0435 to your computer and use it in GitHub Desktop.
#!/bin/bash
find . -name '*.m4a' -type f -exec bash -c 'ffmpeg -i "$0" -acodec libmp3lame -ab 320 "${0%.m4a}.mp3"' {} \;
#!/bin/bash
find . -name '*.m4a' -type f -exec rm '*.m4a' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment