adding rename command to change german umlauts and remove big letters

This commit is contained in:
2020-01-15 18:08:33 +01:00
parent c54add374c
commit 5d5fe7aafb
+3
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