I am new to linux and have a basic question.
I am trying to rename 100 of my files which name as ’ 2010_10_10_0001.jpg to 2015_10_0001.jpg
another one is like 2015_01_01_abcd.jpg to 2015_01_01.jpg
I want to know how this can be done using rename command on linux.
Thanks in advance