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:
parent
c54add374c
commit
5d5fe7aafb
3
.local/bin/etc/cleanname
Executable file
3
.local/bin/etc/cleanname
Executable 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
|
Loading…
x
Reference in New Issue
Block a user