Created
September 23, 2016 04:14
-
-
Save darktef/dc39f10d2b99d4ba774d81cb0368bb3f to your computer and use it in GitHub Desktop.
Fish - ffmpeg - Convert webm to mp3
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
for i in (find . -type f -iname "*.webm") | |
set int (string trim -l -c=./ $i) | |
set name (string trim -r -c=.webm $int) | |
echo $name | |
ffmpeg -i $i -vn -acodec libmp3lame -q:a 2 $name.mp3 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why do you have more than a single dot in a file name?