Skip to content

Instantly share code, notes, and snippets.

@monstermunchkin
Created January 26, 2011 16:21
Show Gist options
  • Save monstermunchkin/796946 to your computer and use it in GitHub Desktop.
Save monstermunchkin/796946 to your computer and use it in GitHub Desktop.
#!/bin/bash
ls *.m4a | sed -rn 's/(.*)\.m4a/\1/p' | \
xargs -d '\n' -P 2 -n 1 -I{} ffmpeg -i "{}.m4a" \
-acodec libmp3lame -ab 320k "{}.mp3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment