#!/bin/sh # Delete ogg files if there are corresponding mp3 files. for x in "$@"; do if [ -f "${x%.ogg}".mp3 ]; then rm "$x"; fi; done