Add this to your .profile (or whatever) # convert files in directory from m4a to mp3 function m4a() { find . -iname '*.m4a' -exec bash -c 'ffmpeg -i "$1" "${1/m4a/mp3}"' -- {} \; } To setup a Service (contextual menu), create an Automator 'Workflow'