Are you looking for a clean bash solution? There are many approaches, but here is one.
for file in *_h.png ; do mv "$file" "${file%%_h.png}_half.png" ; done
This assumes that the only files in the current directory that end with _h.png are the ones you want to rename.
Much more specifically
for file in 0{5..6}_h.png ; do mv "$file" "${file/_h./_half.}"
Assuming these two examples are yours. files.
In general, renaming a file to has .
Sorpigal Sep 16 2018-11-11T00: 00Z
source share