not sure what to put here.
here's a zsh+zmv snippet that converts all CamelCase filenames to snake_case:
zmv '*' '${(SI:1:)${f//(#b)([[:upper:]])(*)/${match[1]:l}${match[2]}}//(#b)([[:upper:]]*)(*)/_${match[1]:l}}'