1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-27 21:47:46 +01:00

adding rename command to change german umlauts and remove big letters

This commit is contained in:
TiynGER 2020-01-15 18:08:33 +01:00
parent c54add374c
commit 5d5fe7aafb

3
.local/bin/etc/cleanname Executable file
View File

@ -0,0 +1,3 @@
#!/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