Batch converting mp4 to m4a in Fish is really easy: for i in *.mp4 set name (basename "$i" .mp4).m4a ffmpeg -i "$i" -vn -acodec copy "$name" end