Skip to content

Instantly share code, notes, and snippets.

@darktef
Created September 23, 2016 03:43
Show Gist options
  • Save darktef/53db9956a9172377f37ae488d8511809 to your computer and use it in GitHub Desktop.
Save darktef/53db9956a9172377f37ae488d8511809 to your computer and use it in GitHub Desktop.
Fish - ffmpeg&lame - convert m4a to mp3
for f in *.m4a
set name (string trim --right --chars=.m4a $f)
echo $name
ffmpeg -i $f -acodec libmp3lame -b:a 320k $name.mp3
end