mirror of https://github.com/tiyn/dotfiles
parent
c5ffbdb70c
commit
12554407aa
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -z "$1" ] && (echo "Error: missing argument (what to remain)" && exit)
|
[ -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
|
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"
|
||||||
|
Loading…
Reference in new issue