#!/bin/sh
[ -z "$1" ] && (echo "Error: missing argument (what to remain)" && exit)
perl-rename 's/\ /_/g; y/[A-Z]/[a-z]/; s/Ö/oe/g; s/ö/oe/g; s/Ä/ae/g; s/ä/ae/g; s/Ü/ue/g; s/ü/ue/g; s/ß/ss/g' "$1"