bash script to replace a char in a directory of files code example
Example: overwrite a file name character in linux
for f in *:*; do mv -v "$f" $(echo "$f" | tr ':' '-'); done
for f in *:*; do mv -v "$f" $(echo "$f" | tr ':' '-'); done