Skip to content

Instantly share code, notes, and snippets.

@fsouza
Created May 30, 2012 00:41
Show Gist options
  • Save fsouza/2831724 to your computer and use it in GitHub Desktop.
Save fsouza/2831724 to your computer and use it in GitHub Desktop.
convert all files in the current directory from wma to mp3, using ffmpeg
#!/bin/csh -ef
foreach file ( *.wma )
set mp3_name = `basename "$file" .wma`.mp3
ffmpeg -i "$file" "$mp3_name"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment