# If you aren’t a shell-guru, take a moment to figure out how this works! $ ls *.[ch] | sed 'p; s/[A-Z]/\L_&/g' | xargs -L2 mv