"SGT" battery cable. Some RV dealers or independent RV shops will have it as well as battery shops. Can be ordered off ebay by the foot too. I have 20' of red & 20' of black SGT that I don't need - drop by!! Has enough strands in it to make it reasonably flexible.
#8 AWG is kinda small but is what they typically use. #6 would be better but for such a short length doesn't matter.
The type of wire in your photo is shown on the jacket and is type "MTW" which stands for Machine Tool Wire. It's intended for machines and inside appliances. I don't think it's suitable for battery cable use but could be wrong. Selecting wire with the correct jacket material takes into consideration physical abuse, exposure to UV, moisture, temperature, oil & grease, etc. Some use welding cable in RVs because it has more and finer strands that makes it very flexible and the jacket material is okay. I just bought some welding cable at a tool shop for a car I'm restoring and it was on sale and much cheaper then getting SGT wire somewhere.