1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-18 18:07:45 +01:00
dotfiles/.local/bin/etc/cleanname

4 lines
150 B
Bash
Executable File

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