#!/bin/bash # m4a2ogg converts all m4a to ogg in a directory. ffmpeg -i "$f" -c:a vorbis "${f/m4a/ogg}"