#!/bin/bash for file in "$@"; do ffmpeg -i "$file" -ar 48000 -ac 1 "${file%.*}.dfpwm" done