#!/bin/sh # Convert given file to opus, requires opus-tools or ffmpeg opusenc "$@" "${1%.*}.opus" || ffmpeg -i "$@" "${1%.*}.opus"