I\'ve tried to change filenames using following script:
find dir/ -type f -exec mv {} $(echo {} | iconv -f UTF8 -t ASCII//TRANSLIT ) \\;
Why doesn\'t it work
This should also work:
#!/bin/bash if [ "$1" = "DO" ] ; then if [ "$2" != "$3" ]; then mv "$2" "$3"; fi else find dir/ -type f -exec "bash" $0 "DO" {} $(echo {} | iconv -f UTF8 -t ASCII//TRANSLIT ) \; fi