Created
May 30, 2012 00:41
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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